Archived topic
Second menu on single pages
4 replies · Started by Anonymous on July 30, 2015
Hey!
I need to add a second menu on a single page on my website!
I have no clue how to work with php, or any other coding languages at all..
So, a widget, a how-to guide or something else that's pretty simple would be appreciated!
Could any of you guys help a poor man out?
Thank you
Hi Anders. You could use the Secondary Nav Add-on and use css to display it on only one page. Or you could add a Custom Menu widget to a sidebar and either display that sidebar only on one page or, if the sidebar is used on other pages, use css to display the widget on only one page.
To add to the above, to make it only display on one page you would have to use some simple CSS:
.secondary-navigation {
display: none;
}
.page-id-xx .secondary-navigation {
display: block;
}
.page-id-xx will change depending on your page.
Say your page has an ID of "11", it would be:
.page-id-11
Hi, sorry for me answering late!
It did work out perfectly! thank you!
You're welcome - glad I could help :)