wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

How to keep the submenu opened when clicking thru submenu voices

Open fulvioromanin opened this issue 13 years ago • 2 comments

hi, first and foremost thanks for your great code. My problem is: i open a submenu, i click on the submenu voice and then when the page is reloaded the submenu is closed again, but i'd need to keep that submenu opened . I'd need to fix this as my customer asked me for a horizontal submenu - which i achieved via css.

My menu code is this: http://pastebin.com/DNybHXmC

(the backup query is there for other purposes...)

how can i achieve the aforementioned result? thanks in advance for your reply :)

fulvioromanin avatar Nov 30 '13 09:11 fulvioromanin

and, uhmmm, a .current class on main and submenu voices would help a lot... :)

fulvioromanin avatar Nov 30 '13 09:11 fulvioromanin

I am not really sure what you are asking here.

If you want the submenu to stay open from page to page you will have to do some fancy scripting that is definitely outside the scope of this project as it is a very unique use case.

SideQuestDIY avatar Dec 03 '13 16:12 SideQuestDIY