• Resolved BananaMan

    (@oranjy)


    Howdy, nice plugin.

    Need some help with the styling the current page item.

    I’m using the same code – it works fine on all pages except when viewed on the parent page – it then highlights the entire block rather than just the first item. Any ideas why this is happening?

    See the difference here: https://imgur.com/a/xvBDP

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mat Lipe

    (@mat-lipe)

    Resolving because we figured this out through emails.

    Hi Mat, I having the same trouble. Could you please share the solution with me/us? Thank you in advance.

    Plugin Author Mat Lipe

    (@mat-lipe)

    Here was the original solution:

    I you add a “>” the css will target just the first level.
    Like so

    .current_page_item > a

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘current page item styling entire block when viewed on parent page’ is closed to new replies.