Tagged: x
-
AuthorPosts
-
April 6, 2016 at 7:42 pm #870315
My Woo Shop menu is appearing on all archive pages site wide – how can I limit it to just the woo cart archives?
Want it here: http://dev-palmspringslife.pantheonsite.io/shop/
But not here: http://dev-palmspringslife.pantheonsite.io/category/arts-entertainment/
April 7, 2016 at 1:49 am #870658Hello There,
Thanks for writing in! Are you using this code:
.archive ul#menu-shop-menu-2 { display: none; }
You need to update it and use this code instead:
.archive.woocommerce ul#menu-shop-menu-2, .archive.woocommerce-page ul#menu-shop-menu-2{ display: none; }
Please let us know if this works out for you.
April 7, 2016 at 9:28 am #871230Yes we were using-
.archive ul#menu-shop-menu-2 {
display: none;
}When I replace it it undoes this issue related to another ticket; https://community.theme.co/forums/topic/woo-shop-menu-appearing-twice-top-left-side/ and the non-woo archives still show the woo menu bar but also have this double woo menu condition.
http://dev-palmspringslife.pantheonsite.io/category/arts-entertainment/
Thanks- Todd
April 7, 2016 at 9:33 pm #872201Hello Todd,
You would like to display a different menu for your WooCommerce pages and shop page? And you want this menu to be in the same place as your primary menu? Maybe you have incorrectly placed a code in your child theme. Based on what you have now, I am seeing two menus on the same page which you’ve used a custom css to hide the second menu. I think you have it all wrong. There should be a condition when to display the menu. Perhaps this condition would suffice that.
if a page is part of woocommerce (shop or product or product archive) the navbar will display shop menu else the navbar will display the primary menu end;
We have a reply that gave a solution to this kind of request. You can check it out here: https://community.theme.co/forums/topic/different-header-for-woocommerce/page/2/#post-710116
Please let me know if this is what you want. And if this is not what you want, please give further clarifications of how you want to display your menus in your site.
Thank you.
-
AuthorPosts