WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Accordion Menu Widget
[resolved] Adding style to Active Link (5 posts)

  1. dskallman
    Member
    Posted 2 years ago #

    Is there a way to add some style to the active page link? I have tried adding it in the CSS skins but nothing changes. Is there another way to do this?

    Thanks!

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

  2. abc1977def
    Member
    Posted 2 years ago #

    Hi dskallman,
    I have the same problem.
    I tried this
    #dc_jqaccordion_widget-%ID%-item ul ul a.active{color:red;}
    However, the links remain red after they have been clicked, even if you click on another link.

    HELP PLease

    Thanx

  3. abc1977def
    Member
    Posted 2 years ago #

    found the solution

    #dc_jqaccordion_widget-%ID%-item li.current_page_item a{color:purple;}

  4. dskallman
    Member
    Posted 2 years ago #

    Awesome, thanx!

  5. remix4
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    "active" is the class added to a link when its clicked or when the page loads and "Save State" is on.

    If you have the menu set so it allows multiple sub-menus to open then each one clicked will keep its active status.

    Your solution is the best way to handle it using the WP built-in CSS classes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic