Viewing 3 replies - 1 through 3 (of 3 total)
  • Theme Author Tom

    (@edge22)

    Sorry for not getting back to you sooner – I monitor the parent theme (GeneratePress) support area more often.

    Our Colors add-on can control the above, but you can also use this CSS:

    .site-header {
          background-color: #whatever;
    }
    
    .main-title a,
    .main-title a:visited,
    .main-title a:hover {
          color: #whatever;
    }

    If i want to simply change the color of 1 word in the header, how would I do that in CSS?

    Theme Author Tom

    (@edge22)

    You would have to add the words into the HTML of the header using hooks or our GP Hooks add-on.

    Then you would wrap that specific word in a span and give it a class, like this:

    My <span class="color-me">Website</span> Name

    Then you’d add your CSS:

    .color-me {
          color: red;
    }

    Unfortunately there’s no way using CSS only to target specific words – at least not yet! 🙂

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