Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / product page diffrent font

product page diffrent font

Locked

Views: 1,951

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
11 Jun 2009, 3:37 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: product page diffrent font

You'll probably want to adjust the h1, h2, etc. font sizes in the stylesheet.

11 Jun 2009, 3:50 PM
#3
stuboy avatar

stuboy

New Zenner

Join Date:
Jun 2009
Posts:
11
Plugin Contributions:
0

Re: product page diffrent font

Hi steve,i have tryed that seems to change everything apart from the products:frusty:

11 Jun 2009, 7:25 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: product page diffrent font

You have mussed up your stylesheet from the default and this is the reason for the large fonts

11 Jun 2009, 9:01 PM
#5
stuboy avatar

stuboy

New Zenner

Join Date:
Jun 2009
Posts:
11
Plugin Contributions:
0

Re: product page diffrent font

I have just downloaded new template,thats the same.
Is there anything else i can try????

12 Jun 2009, 5:32 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: product page diffrent font

Try deleting your stylesheet1.css file
Zencart parses all files that end in .css

12 Jun 2009, 9:17 AM
#7
stuboy avatar

stuboy

New Zenner

Join Date:
Jun 2009
Posts:
11
Plugin Contributions:
0

Re: product page diffrent font

Hi Kobra,tryed that,changes website,but cant change the fonts with h1 h2 h3,changes everything else but products.

Is ther some code i can change to sort this out.????

all the best

Stuart

12 Jun 2009, 3:04 PM
#8
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: product page diffrent font

You had 2 stylesheets earlier and one was the the one that came with the template.
You now have what looks like what you had before???

13 Jun 2009, 2:24 AM
#10
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: product page diffrent font

if you look at your side boxes , you will notice that all your pages display correctly based on values that have been set in your CSS for font size and h1, h2, h3..
your main page that you describe as correct is what you have entered using Define pages editor , with different font family and font size .. since styling for define pages done using inline style .. external stylesheet will not effect it .

to correct this issue . i suggest you to look over your stylesheet.css . look at body{} change your font family and reduce font-size from 80% to 62% .

you have h1 at one location set to 140% and at another location in your CSS set to 130%.. thus one overwrites the other , depending which one loads first .
is best to use "em" as measuring unit for fonts . so change % to em with correct value .

13 Jun 2009, 11:08 PM
#11
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: product page diffrent font

Hi there,

i have managed to change my main body size without a problem, but my right coloum (Shipping & returns, etc and the register / log in) all go massive aswell.

what am i doing (done) wrong..

https://www.splay.co.uk

thanks

13 Jun 2009, 11:21 PM
#12
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: product page diffrent font

for your home , login/register. look for following code in your stylesheet.css

#navMain ul li a, #navSupp ul li a, #navCatTabs ul li a {stylesheet.css (line 298)
color:#000000;
font-size:1.2em;
margin:0;
padding:0 0.5em;
text-decoration:none;
white-space:nowrap;
}

change font size to smaller value.

for your sidebox.. you can add following to end of your stylesheet.css

.sideBoxContent {
font-size:1em;
}

or any other value.

14 Jun 2009, 11:12 AM
#13
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: product page diffrent font

Hi there,

just tested the side content one and that worked great..but the left hand coloumn still is the same font size??

vik

14 Jun 2009, 2:12 PM
#14
tony_sar avatar

tony_sar

Totally Zenned

Join Date:
Jul 2006
Location:
Montreal, Canada
Posts:
2,276
Plugin Contributions:
0

Re: product page diffrent font

change the value for sidboxcontent

.sideBoxContent {
font-size:1em;
}

change to

.sideBoxContent {
font-size:0.8em;
}

and see if this solves the problem .

14 Jun 2009, 6:43 PM
#15
vik007 avatar

vik007

Zen Follower

Join Date:
Feb 2007
Posts:
201
Plugin Contributions:
0

Re: product page diffrent font

Hi tried that.

but still not luck,. only the right hand text changes??