Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing font size in categories and then items

Changing font size in categories and then items

Locked

Views: 1,075

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
17 Sep 2008, 2:02 AM
#1
pyccku avatar

pyccku

New Zenner

Join Date:
Sep 2008
Posts:
1
Plugin Contributions:
0

Changing font size in categories and then items

Here's the site:
http://www.b--studio.com/Shop/

I want to make the font for Categories, Important links and Information bigger. I want the listings under those headings smaller - basically flip-flop the font size.

I've figured out that if I change the size via H1, H2 settings, etc. it will change the font - but then of course it changes the font in other places where I don't want it changed! I've looked and looked at the CSS for the template, but can't figure out what exactly those category headers are called in the CSS or where to change it so just those will change.

Thanks in advance, I've looked through the FAQs and found lots of info on it - but so far not what works for what I want to do!

21 Dec 2008, 3:22 PM
#2
dennis1200 avatar

dennis1200

New Zenner

Join Date:
Dec 2008
Posts:
3
Plugin Contributions:
0

Re: Changing font size in categories and then items

pyccku, I was having the same issue with my site. Looking at the page source shows that the categories in the categories tab are <ul><li><a>, and sure enough there was a 'ul li a' entry for that tab in the stylesheet.css file (located in /zencart/includes/templates/YOUR~TEMPLATE/css/). Mine looked like this (Cherry Zen template):

#navSupp ul li a, #navCatTabs ul li a {
	text-decoration:none;
	white-space:nowrap;
	display:inline;
	font-weight:bold;
	width:0;
	}

Just add a "font-size:whatever;" and you should be good to go. I know it's been a while, but I hope it helps you and other folks as well.

I am not sure yet if it affects other portions of the site, and I haven't looked at the important links or information, but I would think the same process would yield a similarly successful result. This entry is obviously specific to navSupp and navCatTabs.