Forums

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

  1. risbo
    Member
    Posted 7 months 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 7 months 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 ;)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.