WordPress.org

Support

Support » How-To and Troubleshooting » Current Page Item

Current Page Item

  • I’ve set up my menu, and in a very round-about way, I got it to work the way I wanted it to. The problem is, that I made so many changes that I lost track of how I made it work.

    Now I want it to have a “Current Page” state, but simply specifying .current_page_item{} doesn’t seem to work.

    Can you take a look and tell me if you can find out how I can get it to work? I basically want the current page menu item to stay with the same background as the hover. Thanks, the site is:

    http://kelleherfeeney.com/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Whereabouts are you making your .current_page_item CSS change? I can’t find it on your webpage linked.

    Hi,
    I didn’t save it because it wasn’t working. I thought that by simply inserting `.current_page_item {
    background: …
    }`

    it would override the parent stylesheet, but it doesn’t work. And I’m wondering if it has to do something with specificity.

    Inserting it into the webpage directly?
    Try using this Custom CSS Manager plugin to hold your CSS modifications. It also helps with overriding the theme’s CSS because it is called after the theme’s style.css file is loaded.

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