The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Current Page Item (4 posts)

  1. cordovez
    Posted 3 years ago #

    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:


  2. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    Whereabouts are you making your .current_page_item CSS change? I can't find it on your webpage linked.

  3. cordovez
    Posted 3 years ago #

    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.

  4. Andrew Nevins
    Forum moderator
    Posted 3 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic