How to change font color in home section

Community Forums Forums Design Tips and Tricks How to change font color in home section

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  joycegrace 1 year ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34884

    steve_seattle
    Participant
    Post count: 5

    Hello support forum!  How do I change the font color of my home section under my style.css?  I got my background color to change but can’t figure out the text color.  Here’s my code:

    #home-sections {
    background-color: #393939;
    font-color: #f5f5f5;
    overflow: hidden;
    padding: 40px 0;
    }

     

    Any idea?  The site I’m working on is http://174.120.9.226/~maynmj2/

     

    Thanks!!

     

    #34894

    joycegrace
    Participant
    Post count: 57

    Hi Steve,

    I get a lot of help from W3Schools: http://www.w3schools.com/css/

    “font-color” is not really a CSS style. “Color” is and it refers to the font colour (I’m Canadian so I only spell it ‘wrong’ when using CSS :)

    What you’d want to do is find out what type of text you want to style in the home sections. So for example, if you want to style <p> text, which is paragraph text, you would go like this:

    #home-sections p {

    color: #f5f5f5;

    }

    And so on. Same goes for styling <a> links, or header tags <h1>, <h2> etc.

    You can see what type of text each area is by installing Firebug as an add-on to Firefox and using that to target styles.

    Chrome developer tools can do this too, and Safari has “inspect element” but I prefer Firebug on Firefox myself.

     


    Find me at Joyce Grace (http://www.joycegrace.ca) and Clicks Online Marketing (clicksonlinemarketing.com).

    #35066

    steve_seattle
    Participant
    Post count: 5

    Joyce, thanks!  It worked perfectly :)  I’ll keep that resource in mind in the future.

    #35088

    joycegrace
    Participant
    Post count: 57

    Glad to be of help, you can mark this discussion “resolved” if you haven’t already


    Find me at Joyce Grace (http://www.joycegrace.ca) and Clicks Online Marketing (clicksonlinemarketing.com).

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘How to change font color in home section’ is closed to new replies.