Results 1 to 7 of 7
  1. #1

    Default 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. #2
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default Re: Body font colour won't change

    Try:

    Code:
    body {
    margin: 0;
    font-family: verdana, arial, helvetica, sans-serif;
    font-size: 70%;
    color: #006633 !important;
    background-color: #e5edf5;
    }
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  3. #3

    Default 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?

  4. #4
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default 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;
    }
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  5. #5

    Default Re: Body font colour won't change

    Quote Originally Posted by Nimbuz View Post
    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.

  6. #6
    Join Date
    Oct 2007
    Posts
    289
    Plugin Contributions
    0

    Default 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
    [FONT=Microsoft Sans Serif]CSS Evangelist[/FONT]

  7. #7

    Default 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

 

 

Similar Threads

  1. Change Font Colour
    By khaybet in forum General Questions
    Replies: 8
    Last Post: 25 Jun 2011, 04:37 PM
  2. Change font colour of Manufacture List
    By hargz in forum General Questions
    Replies: 1
    Last Post: 9 Feb 2009, 05:27 PM
  3. EZ-PAGE header - change font size and colour
    By nav007_2000 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Oct 2008, 10:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg