WordPress.org

Ready to get started?Download WordPress

Forums

JQuery Vertical Accordion Menu Bold or Highlight Current Page? (3 posts)

  1. olyartrockguy
    Member
    Posted 2 years ago #

    I downloaded JQuery Vertical Accordion menu plugin but would like to have it adjusted so the current page is bolded or the background color is changed in the accordion menu ... something... anything that indicates the current page in the menu would be wonderful. Has anyone done this with this plugin? Any help would be greatly appreciated! Thanks!

  2. andre77
    Member
    Posted 2 years ago #

    Please let me know if you find a solution for this... :-P

  3. andre77
    Member
    Posted 2 years ago #

    Hey!

    I got help from the developer, which informed me about the

    ".current-menu-item" class, which can be targeted through css. The css code I am using is for example:

    li.current-menu-item > a{
    text-decoration: underline;
    color: #ae1e58;
    }

    I hade to use the ">" child selector, as otherwise the links in the nested list also get highlighted. But you´ll just have to play around with this class, and see what fits you.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.