Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Changing Fonts across entire site

Changing Fonts across entire site

Views: 721

Results 1 to 5 of 5
12 Apr 2011, 5:22 PM
#1
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Changing Fonts across entire site

I have been doing some digging and haven't been able to figure this one out. How do I change the font style across the entire site?

Thanks for the help.

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

12 Apr 2011, 6:39 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Changing Fonts across entire site

It really depends on your template, what you've changed so far, etc. In a stock Zencart site using the Classic template, changing the red part here in the stylesheet would change most fonts:

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 62.5%;
color: #000000;
background-color: #e5edf5;
}

The first font in the list will be the one used for most cases. One caveat: if you use a font that isn't included in the browser (or OS) any particular customer uses, he/she won't see what you intended, so it's best to use a more common font.

12 Apr 2011, 6:40 PM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Changing Fonts across entire site

The body {} rule at the top of the standard stylesheet sets the basic font sitewide; this can be overridden for any particular element or area by other stylesheet rules.
If you have a Template Monster template, everything is different. They use several major stylesheets, with completely different organization, and many of their page elements have different class or id names even when the element is in the same structure as stock.

12 Apr 2011, 7:44 PM
#4
outeredge2 avatar

outeredge2

Zen Follower

Join Date:
Mar 2010
Location:
Green Bay, WI
Posts:
362
Plugin Contributions:
1

Re: Changing Fonts across entire site

Yeah I have the template "pain in the A55" monster template. I thought I had it figured out but it didn't change anything.

Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

12 Apr 2011, 8:41 PM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Changing Fonts across entire site

Do you have Firefox and its Web Developer and Firebug extensions yet? Those are especially valuable for unraveling a convoluted mass like the TM structure. Reading the .main_t .row1 .col2 .etc {} style rules in the stylesheet by eye can be mind-numbing.