• Resolved danieljsperaw

    (@danieljsperaw)


    I think I have gotten the lines of the “child css” out of order (the text color won’t change, it just underlined itself and more).

    THIS is what I currently have. DO YOU KNOW THE CORRECT ORDER?

    /* =Header
    ————————————————————– */

    #header {
    padding: 25px 0 0 0;
    }
    #site-title {
    float: left;
    font-size: 50px;
    line-height: 40px;
    margin: 0 0 30px 0;
    width: 700px;
    }
    #site-title a {
    font-weight: bold;
    color: 1e2ce0
    text-decoration: none;
    font-style: italic;
    font-family: Book Antiqua,Palatino,Palatino Linotype,Palatino

    IS THIS WHERE THE FONT FAMILY SHOULD GO?

    My site is simplestsolutions.org.

    ANY THOUGHTS YOU HAVE WILL BE MUCH APPRECIATED.
    Thanks,
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Did you create a child theme? I don’t see the child theme folder.

    I see a couple of things wrong with what you’ve written above:

    1. Hex values for the color property should have a pound sign (#) in front of them. So color: 1e2ce0 should be color: #1e2ce0.
    2. Font family names which have an embedded space should be enclosed in single quote marks (AKA, apostrophes), like this:
      font-family: 'Book Antiqua',Palatino,'Palatino Linotype',Palatino;

    The location of the font-family property is fine.

    Thread Starter danieljsperaw

    (@danieljsperaw)

    The nightmare is over and it’s working like a dream. Many thanks for taking the time.
    Daniel

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘child css going crazy on header’ is closed to new replies.