Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / font size and color questions

font size and color questions

Locked

Views: 4,563

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
21 Sep 2007, 9:41 PM
#1
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

font size and color questions

I have a couple questions regarding font sizes and colors-

  1. How do I change the font size for product descriptions and image captions? (Also the shopping cart info and all other places on my website that have that smallest font?)

  2. On my main nav line when you hover the bottoms of letters like g, y, p don't change color with the rest of the letter. How do I change this?

TIA!~

22 Sep 2007, 1:02 AM
#2
kobra avatar

kobra

Black Belt

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

Re: font size and color questions

The majority can be addressed by adding this entry in your stylesheet

P, ADDRESS {
        font-size: 1.5em;
	padding: 0.5em;
	}
23 Sep 2007, 3:52 AM
#3
loanhy avatar

loanhy

New Zenner

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

Re: font size and color questions

Hi Kobra,

Can you tell me where the stylesheet file is located?

Thanks!

23 Sep 2007, 5:24 AM
#4
kobra avatar

kobra

Black Belt

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

Re: font size and color questions

Use your FTP client and conect to your account and the stylesheet is found at:
includes/templates/your_template/css/stylesheet.css

Ftp this to your local and use a plain text editor and make the changes ans save - FTP back to your server

27 Sep 2007, 6:17 PM
#5
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

Re: font size and color questions

hmm that's not doing it for me.....

How do I change the font size for the image captions/ categories?

28 Sep 2007, 7:50 AM
#6
kobra avatar

kobra

Black Belt

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

Re: font size and color questions

hmm that's not doing it for me.....
This is not very descriptive

A global entry might be changing the % value highlighted

body {
	margin: 0;
	font-family: verdana, arial, helvetica, sans-serif;
	font-size: 62.5%;
	color: #bbaaff;
28 Sep 2007, 11:02 AM
#7
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

Re: font size and color questions

kobra:

This is not very descriptive

lol, when i wrote it wasn't doing it for me I had at first done it wrong and it did nothing! when I figured it out it did indeed change the size of the text under the pictures, but it also threw off the product listings.

A global entry might be changing the % value highlighted

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

 
I don't know what that means..
30 Sep 2007, 7:51 PM
#8
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

Re: font size and color questions

I am still trying to figure out where to change the font sizes-

for category descriptions and

also for other pages like "about us"

1 Oct 2007, 2:39 AM
#9
kobra avatar

kobra

Black Belt

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

Re: font size and color questions

See my post #7 and change the 62.5% to something like 75%

1 Oct 2007, 1:41 PM
#10
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

Re: font size and color questions

I tried that and it makes everything bigger- the sideboxes and main nav .. throws everything off.

there must be a way to just change the text in the center????

1 Oct 2007, 4:01 PM
#11
thecatinthetree avatar

thecatinthetree

Zen Follower

Join Date:
May 2007
Location:
Virginia
Posts:
102
Plugin Contributions:
0

Re: font size and color questions

Anyone?

1 Oct 2007, 4:13 PM
#12
redcinamn avatar

redcinamn

Zen Follower

Join Date:
Oct 2006
Posts:
175
Plugin Contributions:
0

Re: font size and color questions

Hi there,

We are also having a problem with our product descriptions- ours are too large. When we look at the page source we see that it is a H1 with an id of productName and a class of productGeneral.

So we have looked in our Sylesheets for any reference of either class or ID and cant find anything. We created a h1 for this class but it did not alter the text.

Can anyone tell us how to change this text size and why I cant fine these classes in the CSS/

We are simply trying to change the Product name and the Product Name alone.

Thanks in advance!
If you need URL let me know Ill be happy to post
Red

1 Oct 2007, 5:32 PM
#13
kobra avatar

kobra

Black Belt

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

Re: font size and color questions

Towards the top of a standard stylesheet there is an entry like:

h1 {
	font-size: 1.5em;
	}

And you can change this for a global h1 alteration - if only for the product info page you can find or add a #productName tag with a font-size: ??; declaration