[resolved] Specify Background Color in Nav Bar (3 posts)

  1. joelwyant
    Posted 5 years ago #

    I'm using WordPress 3.0.4 with the WP Remix theme 3.0 for my website. URL: joelwyant.com

    I want to be able to add a page to the site during the Christmas season. To make it standout more, I'd like that specific page to always have a different background color in the navbar than the other "normal" pages. I have the CSS for the navbar style, but I don't know where to begin to make it specific to just that one page.

    In other words, how do I create CSS that overides the normal navbar background color for just that one specific page?

    Any thoughts, suggestions, or guidance is much appreciated!


  2. Michael
    Forum Moderator
    Posted 5 years ago #

    example 'process' page tab:

    li.page-item-224 a { background:green!important;}

    the number is the page id.

    add the style to style.css of your theme (anywhere)

  3. joelwyant
    Posted 5 years ago #

    Works like a charm!

    Thanks so much, you have no idea how much time this has saved.

    Again, much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Topic