WordPress.org

Forums

[resolved] Format a heading in Twenty Eleven child theme (4 posts)

  1. TMNR
    Member
    Posted 2 years ago #

    Hi,
    I'm trying to change the way my h4 heading is displayed, but no matter what I do in child theme style.css - it gets overwritten by original style.css.

    Originaly I tried this:

    h4 {
    color: red;
    }

    then

    .entry-content h4 {
    color: red;
    }

    but nothing happens.
    I've watched and read a bunch of tutorials online about selectors, but still can't get it to work.
    What am I doing wrong?

    Here's the link, I'm trying to format gallery headings.

  2. Andrew
    Forum moderator
    Posted 2 years ago #

    I can't find any h4 selectors in your Child Theme stylesheet. Are you sure you're adding them to the correct file?

  3. TMNR
    Member
    Posted 2 years ago #

    I'm so embarrassed...
    All this time I've made changes on local dev, and checked for results in live server.
    Accept my apologies for wasting your time. Everything works as it should.

  4. Andrew
    Forum moderator
    Posted 2 years ago #

    The colour is red for me. Have you cleared your browser's cache?

Topic Closed

This topic has been closed to new replies.

About this Topic