Hide top bar navigation logo
-
Hi,
I have made a WooCommerce site with a theme called Mr. Tailor. I use WooCommerce in catalog-mode.
It works very well.But I have a request from our customers, they want to be able to view our “store” without seeing our menu, logo and top bar. Which means the site would begin with the site contents. They will be able to navigate via the WooCommerce menus.
Is it possible to give our customers a link to the site which removes these functions?
I was able to remove the menu by using a plugin called Conditional menus, and disable the menu for a user group. And then using a plugin called autologin links, which logs the user in to a user by visiting via that link (and the menu is hidden).
I was only able to make it work with the menu, which is just one thing.Do you have any ideas on how to make this possible?
-
I think you should go with something like this in your CSS:
.woocommerce .top-headers-wrapper {display: none;}It means that each time woocommerce page is loaded top wrapper shouldn’t be displayed.
If you go to inspect element in your browser you will find the body classes (each page has a unique one). That way you can target elements on specific pages. I think it might be a better approach then using a plugin
Let me know if it helepd you out.
Thank you for the response.
But is it possible to have wordpress displayed on another page, with this code added?
Because we want the header (menu, logo etc) visible when browsing the site, and also the WooCommerce pages. But we want to give certain customers this link.Is it possible?
I’m still working on this.
I’ll try to clarify.I want to give my retailers a link which shows my site (WooCommerce product pages) but without our logo, and our WordPress menu.
What I want is a page that only shows the WooCommerce store for our retailers, to use without showing our company’s name.I want it to work like this only if they visit the site via a special link. Other than that I want it to work completely normal with logo and top menu.
Any ideas?
The topic ‘Hide top bar navigation logo’ is closed to new replies.