Keeping main menu links active while in sub-menu
-
I have 2 custom menus. One is the main menu, and the other one is the sub-menu. When your using the main menu, wordpress applies the “current_page_item” class to make them look “active”. But I want to keep the current main link active while I’m in the sub-menu as well. Is there any way to add the sub-menu id:s to the matching parent or similar? Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘Keeping main menu links active while in sub-menu’ is closed to new replies.