Page 28 of 227 FirstFirst ... 1826272829303878128 ... LastLast
Results 271 to 280 of 2267
  1. #271
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: top category changes

    Categories Dressing is intended only for the sidebox - it does not affect the categories-tabs menu in the header. The code could be transplanted from tpl_categories.php to the cat-tabs file (/includes/modules/your_template/categories_tabs.php), with some reconfiguration. Of course, not all of the features are applicable since the cat-tabs only deal with the top categories.

  2. #272
    Join Date
    Nov 2005
    Posts
    32
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Hey Glenn-
    First, thanks for the teriffic mods and all of your support. You have made a couple of projects very easy for me! A quick question about categories dressing / image titles. I need to have the main category in my sidebar as an image at the top of the sidebox as a link. If my main categories are:
    Computers
    Phones
    Stereos
    TVs

    when I am in phones (cPath=2) the image at the top of the list would be for phones and would link back to the cat main page if I went to a sub cat within phones. Can this be accomplished with either mod? I don't want the cat names to be images within the nav list when I am in any other category.
    Thanks again.

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

    Default Re: Categories Dressing

    That's a tricky one. Neither of those mods will do what you want without additional coding. Smart Backgrounds can make a per-category background image in any element you desire, but it can't do anything about links.

    Where exactly do you want the image to show? Replacing the box heading? Or below the heading at the top of the box contents? And do you still want all the regular top & subcat names to show?

  4. #274
    Join Date
    Nov 2005
    Posts
    32
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I was hoping for the image to show above the categories (I don't have the title for the sidebox showing). I guess I will look at the smart backgrounds mod which I use for another site (Thanks!) for the headers. If I can't link them I won't sweat it - the main cat links will still be active.

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

    Default Re: Categories Dressing

    If you add padding-top and the background-image to #categoriesContent in your stylesheet, you should get the per-category image at the top of the box area with the categories below it.

  6. #276
    Join Date
    Nov 2005
    Posts
    32
    Plugin Contributions
    0

    Default Re: Categories Dressing

    I also tried to use smart backgrounds to change the .leftBoxHeading by adding:

    .smartBG_1 .leftBoxHeading {background-image: url(../images/smartbg_1.gif);}
    .smartBG_2 .leftBoxHeading {background-image: url(../images/smartbg_2.gif);}

    to your stylesheet while taking out the background image from the main stylesheet. That didn't work. Should it? Thanks.

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

    Default Re: Categories Dressing

    It should work in the absense of any higher-priority declaration overriding it. I would have to see your stylesheet on your site to diagnose it.

  8. #278
    Join Date
    Nov 2005
    Posts
    32
    Plugin Contributions
    0

    Default Re: Categories Dressing


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

    Default Re: Categories Dressing

    I have to say I can't see any reason why it wouldn't work.
    The image is in the right place with the right name to trigger the .smartBG_2 class tag, but it isn't doing it. The code is there, because you have a .smartBG tag. Can you post the relevant section of tpl_main_page.php? I have to leave now, but will check back when I get a chance.

  10. #280
    Join Date
    Nov 2005
    Posts
    32
    Plugin Contributions
    0

    Default Re: Categories Dressing

    Your last post helped me figure it out. I recreated the tpl_main_page.php and removed (not commented) the original code and it works now! Thanks for looking at this and pointing me in the right direction.

 

 

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