WordPress.org

Forums

JQuery Accordion Menu Widget
[resolved] How to higlight parent page when child is selected (2 posts)

  1. risbo
    Member
    Posted 3 years ago #

    Hi there!

    I managed to higlight active item (page) in menu with following style:

    .menu li.current-menu-item > a,
    .menu li.current-menu-ancestor > a
    {
    text-decoration: none;
    color:#ce046a;
    font-weight:bolder;
    }

    Is it possible to higlight parent page when child page is active (but not listed in menu).

    I hope you understand what I mean :)

    Thanx in advance!

    http://wordpress.org/extend/plugins/jquery-vertical-accordion-menu/

  2. risbo
    Member
    Posted 3 years ago #

    solved with

    #dc_jqaccordion_widget-%ID%-item .menu li.current-menu-item > a, #dc_jqaccordion_widget-%ID%-item .menu li.current-menu-ancestor > a, #dc_jqaccordion_widget-%ID%-item .menu li.current-page-ancestor > a {background: #4b4b4b;}

    Thank you 4 plugin ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • JQuery Accordion Menu Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.