Can I have different navigation items show depending on which page you are on?

[ad_1]

I have some pages (e.g. Price List) that I only want to show in the navigation when I am on certain pages of my website.

I am using the Gutenberg editor with the Spectre One theme.

I can target blocks with custom CSS classes but can’t figure out how to target the nav on a specific page. Any help greatly appreciated.

[ad_2]
1 Comment
  1. I wouldn’t target elements with CSS and you’d still be including them, just “hiding” them. I’d use something like:

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer