Site logo

Archived topic

Disable Secondary Navigation 'Entirely' for WooCommerce Shop

3 replies · Started by Jackson on November 11, 2020

Viewing posts 1–4 of 4

I have tried the below code.

.woocommerce.archive .secondary-navigation {
display: none;
}

This code only disables Secondary Navigation in Product Archive pages only. Secondary navigation is still visible in Single Product Pages. (checked even with logged off users)

I need to disable secondary navigation entirely for woocommerce, help me with that CSS.

Hi,

Try this CSS:

.woocommerce.archive .secondary-navigation, .woocommerce.single-product .secondary-navigation {
    display: none;
}

Done. Thankyou. 99% of my issues were solved with just browsing your forums. Except this. Thanks again

Done. Thankyou. 99% of my issues were solved with just browsing your forums. Except this. Thanks again

Nice one. No problem. Glad to be of any help. :)

This archived topic is closed to new replies.