Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / changing sub-category styles

changing sub-category styles

Locked

Views: 823

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Oct 2009, 5:47 PM
#1
adamsmith1 avatar

adamsmith1

New Zenner

Join Date:
Jul 2009
Posts:
3
Plugin Contributions:
0

changing sub-category styles

I am having trouble changing the style for a.category-products on my stylesheet, its a free download that I'm slowly changing for a friend in Norway.

I know a (very) little css but this is causing me trouble, i seem to have no class for category-products it appears the same as category-top so my categorys and sub categorys look the same in the category sidebox. i want to change the box colour and font syle for the sub categorys. Can anyone tell me where to insert the defenition for the sub category? (code and line numbers)

the site is at https://www.margotogma.no

Have read the FAQS and it seems the original template has these defenitions in, but the one im using does not!

thanks for any help in advance!

13 Oct 2009, 10:58 PM
#2
ilsita avatar

ilsita

New Zenner

Join Date:
Sep 2009
Posts:
89
Plugin Contributions:
0

Re: changing sub-category styles

Hi Adam, I had the same issue. All I wanted to do was change the font color of the submenu when it was open, and I was also using a different template.

The answer I received was to place this in your css, and insert whatever information you need in there:

#categories A.category-subs, #categories .category-products {
}

So, for instance, mine looks like this:

#categories A.category-subs, #categories .category-products {
color: #a10416;
background-image: url("../images/subcatbull.gif");
background-repeat: no-repeat;
background-position: left;

}

I hope that does the trick for you.