Support » Themes and Templates » Specify Background Color in Nav Bar

  • Resolved joelwyant

    (@joelwyant)


    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!

    Joel

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael

    (@alchymyth)

    Forum Moderator

    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)

    Works like a charm!

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

    Again, much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Specify Background Color in Nav Bar’ is closed to new replies.