WordPress.org

Support

Support » Plugins and Hacks » Hacks » JQuery Vertical Accordion Menu Bold or Highlight Current Page?

JQuery Vertical Accordion Menu Bold or Highlight Current Page?

  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Please let me know if you find a solution for this… 😛

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JQuery Vertical Accordion Menu Bold or Highlight Current Page?’ is closed to new replies.
Skip to toolbar