Forums / Templates, Stylesheets, Page Layout / Body font colour won't change

Body font colour won't change

Locked

Views: 2,542

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
1 Nov 2007, 9:33 PM
#1
arliss61 avatar

arliss61

New Zenner

Join Date:
Oct 2007
Posts:
29
Plugin Contributions:
0

Body font colour won't change

I just know I have done something wrong but it isn't obvious exactly what or where.

Yep, I'm new but I have read the support pages and forum and have made some changes to my stylesheet to accomodate my desired colors.

I've got the hover and active link colours changed and even put in some code that I found in another post to change the greeting color. But try to change the body color? No chance.

My site is at http://charcool.com

I have changed the color code in the syle sheet at includes/templates/charcool/css to #006633

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

But as you can see, it remains stubbonly black.

I know I have done something wrong because when I highlight the body copy in my browser it appears to be underlined. Also if I scroll quickly down a page, I swear it looks green!

What I want to achive is all my copy (ez pages, product, category and box contents) to be 006633.

Please Zen Experts, help your unworthy servant.

2 Nov 2007, 3:49 AM
#2
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Body font colour won't change

Try:

body {
margin: 0;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 70%;
color: #006633 !important;
background-color: #e5edf5;
}

CSS Evangelist

2 Nov 2007, 6:58 PM
#3
arliss61 avatar

arliss61

New Zenner

Join Date:
Oct 2007
Posts:
29
Plugin Contributions:
0

Re: Body font colour won't change

Thanks for the suggestion. It's still as black as the ace of spades!

Lord knows what I have done?

3 Nov 2007, 1:29 AM
#4
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Body font colour won't change

By "body" color, you mean the text: "Do you deserve recognition for your work at the barbie? We can't put your name in lights but we can put your initials on your next steak, rissole or panini, hot off the plate!......"

If so, add this to your css:

.main_block {
color: #006633 !important;
}

CSS Evangelist

5 Nov 2007, 5:46 AM
#5
arliss61 avatar

arliss61

New Zenner

Join Date:
Oct 2007
Posts:
29
Plugin Contributions:
0

Re: Body font colour won't change

Nimbuz:

By "body" color, you mean the text: "Do you deserve recognition for your work at the barbie? We can't put your name in lights but we can put your initials on your next steak, rissole or panini, hot off the plate!......"

If so, add this to your css:

.main_block {
color: #006633 !important;
}
Nimbuz! Thanks so much. Amazing what a difference a few letters can make in the stylesheet!

The change has done exactly what I'd wanted to achieve.

Can I press my luck with 2 follow up questions:

a) The change didn't work on the product/category copy

b) while it changed all the original pages it hasn't had any effect on a number of additional pages I created using the about_us plug in eg "Sustainable" .

Is there a simple change for them too or do I need to code each page in the HTML?

Many thanks again.

5 Nov 2007, 6:01 AM
#6
nimbuz avatar

nimbuz

Zen Follower

Join Date:
Oct 2007
Posts:
291
Plugin Contributions:
0

Re: Body font colour won't change

Cool. :-)

Body color doesn't affect all individually styled elements. Product description on category page for example uses .r_desc class, add "color:#006633" there, same for all other classes

CSS Evangelist

5 Nov 2007, 9:24 PM
#7
arliss61 avatar

arliss61

New Zenner

Join Date:
Oct 2007
Posts:
29
Plugin Contributions:
0

Re: Body font colour won't change

Nimbuz, thanks again. You are very kind to help. I made the change but couldn't immediately see any impact. I'll hang onto it until I have time to learn a little more about the style sheet (long overdue).

thnaks for your help