• Resolved TMNR

    (@tmnr)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

    Thread Starter TMNR

    (@tmnr)

    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.

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Format a heading in Twenty Eleven child theme’ is closed to new replies.