WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
.navbar-wrapper .navbar h2 responsive (2 posts)

  1. gscohier
    Member
    Posted 10 months ago #

    Hi,

    I've changed the colour of .navbar-wrapper .navbar h2.
    It works fine but once the theme becomes responsive, it reverts back to the original colour.

    I'va manually added the following under the @media for the different resolutions but it's not making any differences:

    /* Take bold off tagline*/
    .navbar-wrapper .navbar h2 {
    color: #414a9e;
    }

    site is: http://social-be.be/

  2. Seahawksean
    Member
    Posted 10 months ago #

    You just need to add a bit more specificity to the element in your child css in order to override the theme's default styling. If you look in Firebug you'll see the selector used by the default to control it's styling is h2.site-description. Also, when in responsive mode, .navbar is not used a selector for this element. It's only used when in non-repsonsive state.

    So, in your media query you css should look like.

    navbar-wrapper h2.site-description {
        color: #414A9E;
    }

Reply

You must log in to post.

About this Theme

About this Topic