Page 78 of 227 FirstFirst ... 2868767778798088128178 ... LastLast
Results 771 to 780 of 2267
  1. #771
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi All,
    Let me begin with - We have many categories.

    So far I have this working pretty well but am having some trouble with sub-cats and sub-sub-cats. Not sure what they're really called.

    Looks like we're calling them a.category-subs-text & a.category-products-text.

    I have split my top cats into groups. So let's call the first group "group1". In group1 I have 3 subs, each sub has 2 subs. I would like the background-color to be yellow for all of these.

    I can get the background color to change for each category individually but the subs and sub-subs are either all one color or nothing. Meaning that I cant seem to get the subs and sub-subs in group1 to be yellow and leave the other groups subs and sub-subs alone.

    I hope I have not confused the help here. Please let me know a solution to this.

    Thank you,
    John

  2. #772
    Join Date
    Feb 2007
    Location
    Pennsylvania
    Posts
    814
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Got it. What's next?

    lol

    PHP Code:
     case ($box_categories_array[$i]['path']== 'cPath=76_263'):
            
    $new_style 'category-76263';
            break; 
    Thanks guys,
    John

  3. #773
    Join Date
    Apr 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi Glenn,
    I did as you said, but it doesn't help ... never mind, I am trying to improve it ...

    Tim

  4. #774
    Join Date
    Apr 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Problem solved by setting leftBoxHeading background color to white :) thank anyway

    Tim

  5. #775
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    John -
    To control background color in all subcats and sub-subcats in one group, you can add a pair of rules after the generic rules like this:
    Code:
    #categories ul#catGroup1 ul a {/*subcategories of group 1*/
        background: #aaddbb;
        }
    
    #categories ul#catGroup1 ul ul a {/*sub-subcategories of group 1*/
        background: #bbddbb;
        }
    This will apply only inside catGroup1 (adjust the id to match your actual situation).

  6. #776
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Re: Categories Dressing

    hello, this mod works great! i am having a little trouble though. im trying to do the bonus part to have a customized style for each category, and it isnt working. my site is just a test site, and the images will all be changing, im just trying to play with functionality

    http://extendmydesign.com/bloomsofts/

    here is my code in tpl_categories:

    case ($box_categories_array[$i]['path'] == 'cPath=1'):
    $new_style = 'language';
    break;

    i changed the path to the correct one.

    here is my css code

    #categories li.cat-language a {
    color: #999999;
    background-image: url(../images/catbghover.gif);
    background-repeat: no-repeat;
    padding-left:20px;
    height: 20px;
    }

    #categories li.cat-language:hover a {
    color: #999999;
    background-image: url(../images/catbgl.gif);
    background-repeat: no-repeat;
    padding-left:20px;
    height: 20px;
    }

    i know my hover and regular images are backwards lol, i messed it up. but it is still calling the images from the main style. i have one more question after this, but i figured i would try to figure this one out first.

    the other question is how to get the clickshowhide mod's effect working with this mod, i REALLY need it.

  7. #777
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    Are you aware that you used a letter "l" instead of a numeral "1" in the filename?

    catbgl.gif

  8. #778
    Join Date
    Feb 2009
    Posts
    186
    Plugin Contributions
    1

    Default Re: Categories Dressing

    yes, its l for the cat languages

  9. #779
    Join Date
    Apr 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hi Glenn,
    Please, have a look at this site with IE7

    http://www.pacificphm.com/store

    There is an empty row (space) above the first categoryBoxHeading (cPath=1), do you know how to remove it ?

    This problem occurs only with IE7, it looks fine with FFox

    Thanks

    Tim

  10. #780
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Categories Dressing

    I can only use IE6 on my home computer, and the space you describe doesn't show there, nor in Firefox. I will check on the business computer when I get time and see if I can see it in IE7.

 

 

Similar Threads

  1. categories dressing
    By fw541c in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Nov 2010, 09:29 PM
  2. Categories Dressing
    By wotnow in forum Addon Sideboxes
    Replies: 10
    Last Post: 7 Apr 2010, 03:06 AM
  3. Categories Dressing issue
    By Maynards in forum Addon Sideboxes
    Replies: 0
    Last Post: 13 Mar 2010, 10:51 PM
  4. Categories Dressing
    By Maynards in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Mar 2010, 11:05 PM
  5. Categories Dressing
    By PGlad in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 7 Aug 2007, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR