[resolved] changed css in child theme but not applying to pages (3 posts)

  1. Christinanine
    Posted 4 years ago #


    I am adapting the twenty-eleven theme for a site:

    Am having issues with changing CSS on <body> and <p> tags. I went into the the child theme CSS in the Editor, put in what I want (different line-height on body tag and diff. margin-bottom on p tag), save it, reload the page but my changes don't show. Firebug shows theme's original tag values.

    I'm new to WordPress so I must be missing something... can you help? :-)

    Thank you so much,

  2. WPyogi
    Forum Moderator
    Posted 4 years ago #

    You have an error in the code you added:

    body {
    }   line-height:1.2em;

    The parenthesis is before the style! That's likely affecting the rest of the code in that file.

  3. Christinanine
    Posted 4 years ago #

    acckk, rookie mistake. I usually work in Espresso 2.0 and it does auto-complete...

    Thanks for pointing this out :)

Topic Closed

This topic has been closed to new replies.

About this Topic