WordPress.org

Ready to get started?Download WordPress

Forums

Submenu opened problem (2 posts)

  1. _OMEGA_
    Member
    Posted 1 year ago #

    Hi all, I am trying to fix a problem with a submenu.
    I have coded (as you can see on jsfiddle: http://jsfiddle.net/8899x/87/ ) my horizontal menu and the submenu. I would like to leave the submenu opened when I am in the selected child page; for example if I click on "Gallery -> Photogallery 1", I'd like that the submenu and the "Photogallery 1" will stay opened and highlighted. Obvious the same if I click on "Photogallery 2" and so on.

    Any help please?

  2. Scott Fennell
    Member
    Posted 1 year ago #

    Make the sub-menu items child pages of the parent menu items. Use css to reveal the sub-menu items of .current-menu-item.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags