Site logo

Archived topic

Disable Menu Plus

8 replies · Started by Oleg on September 5, 2015

Viewing posts 1–9 of 9

Do I understand correctly that the Menu Plus can be turned off for individual pages using the plugin Disable Elements?

Ah, no it can't - but it should be! I'll add this to the to-do list :)

For now, you can use your page ID with some CSS.

For example, if your page ID is 10, you could do this:

.page-id-10 .navigation-clone {
      display: none;
}

This will only work if your sticky effect is fade or slide - the "none" effect uses the actual navigation (doesn't clone it), so that would take some extra thinking/work.

Let me know if you need more info :)

I would like to turn off the menu for the entire category, for example, WooCommerce Product.

To disable on WooCommerce:

.woocommerce .navigation-clone {
      display: none;
}

For all single products:

.single-product .navigation-clone {
      display: none;
}

Let me know if you need more info :)

I have this need as well - that is, to disable individual pages to not show up on the navigation menu. Where do I access the location to update that code for each page I don't want on the menu.

Hi there,

The menu items can be added/removed in "Appearance > Menu".

Are you wanting to hide specific menu items on individual pages?

This worked. Just wanted to hide certain pages on the whole site. Thank you!

Is there a way to turn off the menu not only for WooCommerce, and for custom types of posts?

On custom post types? You'll have to right click and inspect element, then look for a class adding to the <body> element specific to that post type.

For WooCommerce, it's: woocommerce

Your custom post type should have one as well :)

This archived topic is closed to new replies.