Site logo

Archived topic

Change 2nd nav display rules?

5 replies · Started by qhraqhra on February 28, 2022

Viewing posts 1–6 of 6

How can I change the rules for where my second nav shows up? Am about to change my site's homepage so I have to change the second nav's location, too.

Hi Qhraqhra,

The option to change the Location of the Secondary Navigation can be found in Appearance > Customize > Layout > Secondary Navigation > Navigation Location.

See: https://share.getcloudapp.com/5zun4Ly1

Hope this answers your inquiry! :)

How about if I want rules for which pages it shows on, though? For example, I don't want it to show on my current homepage, but only on a certain set of pages.

Hi there,

You can hide it with CSS or complete remove it from the page a Layout Element.

More about Layout Element here -
https://docs.generatepress.com/article/layout-element-overview/

Layout Elements have disable element tab - https://docs.generatepress.com/article/layout-element-overview/#disable-element - which allows you to disable elements like the Secondary navigation.

You then set the Layout Element's display rule - https://docs.generatepress.com/article/layout-element-overview/#display-rules - to apply the disable element condition to specific pages.

Cool thank you both for this!

No problem. Let us know if you need further help. :D

This archived topic is closed to new replies.