Zen Cart Logo

changing font color

Locked

Views: 3,669

Results 1 to 12 of 12
This thread is locked. New replies are disabled.
30 May 2006, 7:48 PM
#1
jford avatar

jford

Zen Follower

Join Date:
Mar 2006
Posts:
162
Plugin Contributions:
0

changing font color

I have been trying to figure this out all day long and have the biggest headache from it....I finally updated the version of zen-cart for one of my clients and I can NOT figure out the stylesheet. His background on his whole site is black, but when i put black into the store, the text is all black (like on all the product listing info) and I cannot find ANYWHERE to change it! Can someone please help me out!?

Thanks!!

30 May 2006, 9:38 PM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,608
Plugin Contributions:
0

Re: changing font color

Perhaps adding/changing it in the BODY class would work? Without seeing the site or the stylesheet it is hard to tell for sure.

30 May 2006, 9:56 PM
#3
jford avatar

jford

Zen Follower

Join Date:
Mar 2006
Posts:
162
Plugin Contributions:
0

Re: changing font color

the site is https://www.apparitionink.com/catalog (it is really ugly right now because i can't get the store header to work for some reason)

and i tried to attatch the stylesheet but when i copied and pasted it-it was to long and then i tried attatching it and it wasn't in the right format (it was saved as stylesheet.css) any other suggestions?

30 May 2006, 10:40 PM
#4
drstuey avatar

drstuey

New Zenner

Join Date:
Sep 2005
Location:
Aotearoa New Zealand
Posts:
70
Plugin Contributions:
0

Re: changing font color

I don't mean to be rude, but if you can't figure something that simple out, then I think you should employ someone to make changes to your site. You will no doubt get into heaps of trouble and end up wasting heaps of your time trying to solve the errors you are going to encounter in the future.

the file is.

includes/templates/my_template/css/stylesheet.css

you need to edit the first line of that file. Currently it says:

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

if you want to keep the black background then change the value of color:

if you want to keep the black text then change the value of background-color:

30 May 2006, 10:48 PM
#5
jford avatar

jford

Zen Follower

Join Date:
Mar 2006
Posts:
162
Plugin Contributions:
0

Re: changing font color

i got it figured out-when i first uploaded the css form somehow the part about the text got deleted-which is why i couldn't find it. and i don't need to hire someone to do my site---but thanks for the suggestion :)

13 Jun 2006, 2:58 PM
#6
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: changing font color

drstuey says

the file is.

includes/templates/my_template/css/stylesheet.css

I found the file with that code in /includes/template/template_default/css/

What I'm trying to do is a text colour change, and save in my overides. Is that the file I should be using (/includes/template/template_default/css/), and, when edited, by my (limited) understanding, the overide should then go to drstuey's recommended directory?

......and regarding this:

I don't mean to be rude, but if you can't figure something that simple out, then I think you should employ someone to make changes to your site.

Maybe some of us enjoy messing about, and if we do screw up, we have back ups to fix our oops's. I personally make lotsa booboos, but enjoy getting it right (eventually)

13 Jun 2006, 4:33 PM
#7
gjh42 avatar

gjh42

Black Belt

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

Re: changing font color

The safest thing to do is copy the file from /template_default/ to /your_template/, and then make your changes. That way you don't risk inadvertently saving changes in default and wiping out the original.

13 Jun 2006, 5:12 PM
#8
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: changing font color

That's wot i normally do - so - I'll copy that template_default/css file, do my remote edit, and upload to includes/templates/my_template/css

and Voila?:clap:

14 Jun 2006, 3:02 AM
#9
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: changing font color

case history

All kinds of things happened to my site (not by doing this mod), so I restored from backup, and tried to change my font colour by doing the following:

I made a copy of /includes/template/template_default/css/stylesheet.css and edited it to read:

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

and uploaded to /includes/templates/my_template/css/stylesheet.css.

My font is still black. I am also using a Dezina template which has a stylesheet2.css file, so I changed the colour there and uploaded the change. My font is still black, but the navbar has now changed colour.

Surely a simple change like this should be simple. It's almost as bad as fixing cars (my old profession) - you just stay clean and drink a lot more coffee.

14 Jun 2006, 4:49 AM
#10
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: changing font color

My font is still black. I am also using a Dezina template which has a stylesheet2.css file, so I changed the colour there and uploaded the change. My font is still black, but the navbar has now changed colour.

I busied myself in other areas and came back to checking changes I had made. Everything's gone green the way I wanted it, so :thumbsup:

1 Oct 2006, 6:34 AM
#11
lighterboy_crew avatar

lighterboy_crew

New Zenner

Join Date:
Jun 2006
Posts:
10
Plugin Contributions:
0

Re: changing font color

Hi,

My case is:

my css in template default and css in my current template are different. the name are stylesheet1 for template default and stylesheet2 for my template.can i overide it to ensure it was same color font?? or is that ok i rename it?

below is my website:
https://www.lighterboy.com.. i would to change red color from all text to yellow..where i want to start?..i have a limited knowledde about php :lookaroun

1 Oct 2006, 1:52 PM
#12
parafanaylya avatar

parafanaylya

Totally Zenned

Join Date:
Jul 2005
Location:
Hoedspruit
Posts:
470
Plugin Contributions:
1

Re: changing font color

i would to change red color from all text to yellow..

As far as I can see your only red text is for the products on special. If this is the case, use your stylesheet2.css, and place in your overide folder in includes/templates/your_template/css/stylesheet2.css

I don't recommend this mod as yellow is a light colour on a light background, and can't be read. But - the change can be made at about line #963

change this

.normalprice, .productSpecialPriceSale {

text-decoration: line-through;

}

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {

color: #ff0000;

}

to this:

.normalprice, .productSpecialPriceSale {

text-decoration: line-through;

}

.productSpecialPrice, .productSalePrice, .productSpecialPriceSale, .productPriceDiscount {

color: #ffff00;

}

hope this helps. You should not be using more than one stylesheet as this slows your site down!