Forums

[Theme Twenty Eleven] CSS to set specifics of headers (2 posts)

  1. crunchyfrugalista
    Member
    Posted 8 months ago #

    I am trying to build my own child theme by tweaking various parts of the default style sheet (doing it in another file not on my site)

    Does this coding look right in the heading section to set font and size? What would I add to set color to this coding?

    /* Headings */
    h1 {
    font: "The Girl Next Door"
    size: 160%px;
    }
    h2{
    font: "The Girl Next Door"
    size: 130%;
    }
    h3 {
    font: "The Girl Next Door'
    size: 100%;
    }
    h1,h2,h3,h4,h5,h6 {
    clear: both;
    }
    hr {
    background-color: #ccc;
    border: 0;
    height: 1px;
    margin-bottom: 1.625em;
    }

    I am new to all this, but trying to teach myself as I go along, so I would appreciate any help.

    Thanks, Ashley

  2. Andrew Nevins
    Volunteer Moderator
    Posted 8 months ago #

    To use font colour, look at this resource
    http://www.w3schools.com/cssref/pr_text_color.asp

    Also that resource is good for other CSS queries.

Reply

You must log in to post.

About this Topic