Support » Plugin: Advanced Sidebar Menu » Add class to second level link

  • Resolved Jakob Smith


    Is there a way, through a filter maybe, to add a class to second level links?

    I’m trying to specifically style the current page ancestor of a current page item on third level, but if I add styling to

    .advanced-sidebar-menu .current_page_ancestor a

    it also affects the links inside

    <ul class="grandchild-sidebar-menu level-3 children">

    I was thinking of something like adding the page-slug as a class in <a>, because I need individual colors for the menu under each parent page.

    Is there a list of available filters?

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Add class to second level link’ is closed to new replies.