Change header colour based on category

  • Author
  • #3374546


    I am trying to change the colours of my widget titles and main header, for just one category (and then all posts belonging to that category of course).

    When I use custom CSS and this code (to change only for ONE post), it works:

    #main-header {
    background-color: #c08976;

    This however, does not work. Any ideas?

    #main-header {
    background-color: #c08976;

    Best regards



    Hi Tom,

    What’s the URL of your site so we can assist you further.

    When it comes to adding custom CSS, this is only possible on a paid plan, even then, there’s a difference in how much CSS can be added depending on the type of Plan, on the Personal Plan, for example, you can add some basic CSS, you’ll need to have Premium or Business Plans to do more advanced things.

The topic ‘Change header colour based on category’ is closed to new replies.