• Resolved gscohier

    (@gscohier)


    I’d changed the colour of my tagline in my Child’s theme but it has somehow reverted to the original.
    This is what I have in the CSS stylesheet of the child theme.

    /* Take bold off tagline*/
    .navbar-wrapper .navbar h1 {
    font-weight: 100;
    color: #414a9e
    }

    It used to work… Not sure why it stopped…

    Anyone has any idea?

Viewing 11 replies - 1 through 11 (of 11 total)
  • Missing ; after the color?

    Thread Starter gscohier

    (@gscohier)

    Nope.
    Just added it just in case and it’s not changed.

    That should be an h2, not an h1.

    Thread Starter gscohier

    (@gscohier)

    updated and still the same… ??

    What happens if you put:

    /* Take bold off tagline*/
    .navbar-wrapper .navbar h1 {
    font-weight: 300;
    color: #414a9e;
    }

    (with the reasoning that the font you are specifying may have problems with a light font–maybe false reasoning, as I don’t know much about CSS and fonts.)

    If that doesn’t work, then lets go back to basics: where are you putting this text and what’s your site link?

    Thread Starter gscohier

    (@gscohier)

    Nope. Really odd!
    it worked up until updating the theme earlier this evening to 3.0.9

    I’ve also dug the exact code from the original files and copied and pasted and just updated the colour but it’s no working either.
    This is what I found:

    h2.site-description {
    font-size: 16px;
    padding-top: 0px;
    line-height: 18px;
    font-style: italic;
    color: #414a9e;

    The codes are going in my child theme style sheet.
    https://www.social-be.be

    .navbar-wrapper .navbar h2 {
      color: #0088CC;
      float: right;
      font-style: italic;
      line-height: 19px;
      padding-right: 5px;
      text-align: right;
    }

    is the blue.css code for the Tagline.

    Try it in CustomCSS and change color to see if that works before moving to your child theme.

    In your current style.css in your child theme, you have:

    .navbar-wrapper .navbar h1 {
    font-weight: 300;
    color: #414a9e;
    }

    But as I said earlier, the heading is an h2, not an h1. You need:

    .navbar-wrapper .navbar h2 {
    font-weight: 300;
    color: #414a9e;
    }

    Thread Starter gscohier

    (@gscohier)

    Hi rdellconsulting,

    I’ve tried the following in the CustomCSS but it didn’t work:

    .navbar-wrapper .navbar h2 {
    color: #FFFFFF;
    float: right;
    font-style: italic;
    line-height: 19px;
    padding-right: 5px;
    text-align: right;
    }

    Doesn’t work in my Child Theme either. It’s very odd!

    Thread Starter gscohier

    (@gscohier)

    And it now randomly works again!

    Thank you all for the input… I’m a tad confused as to how it worked then stopped working then started working again… :-S

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Tagline’ is closed to new replies.