Delete the example image (catimg3.gif if I recall correctly) from your /includes/templates/your_template/images/ folder.
Delete the example image (catimg3.gif if I recall correctly) from your /includes/templates/your_template/images/ folder.
Mthem:
If you have no other background image for the individual categories, you can make a dotted line image with transparent background and add it to the link:Code:#categories a { background: url(../images/dottedline.gif) bottom left repeat-y; display: block; }
ran across this thread and I think it's exactly what I need but I can't seem to get the image rollover buttons to work for the TOP Category Navigation. It wasn't working at all until I turned ON a category sidebox and now the buttons and hovers show up but I want them to be only for the TOP - I intend to not have any sidebox categories for the homepage.
Here's my attempt:
http://www.infullfig.com/
I left the sidebox in just to prove the rollovers work.
I think I'll have to make the changes to the:
A.category-top
in the CSS but I'm not sure, following your example, how to do this.
Probably change the display "block" to display "inline"...
Will I need to add anything to the sidebox/tpl_categories.php
Thanks!
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.
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.
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?
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.