Show Menu Point only on Shop site
-
Hi!
Currently im hiding the menu point "CART (0)" in my third menu (bottom left) for my shop with:#menu-item-2149 { display: none;}
But on my shop-site i would like to show it.
Can you tell me, how to do it?THX!
/edit
now i tried:body.id-2093 nav.third_menu #menu-item-2149{ display: inline;}
and it seems to work.
can you please tell me if this is the way how to do it?
i "solved" it by trial and error...to hide the 3rd menu from shop page i did this i custom css for mobile:
.third_menu{ display: none !important; }
do you see any problems in my "solution"?
-
you did well!
you could also do:
#menu-item-2149{
display: none;}body.woocommerce-page nav.third_menu #menu-item-2149{
display: inline;}this will show the cart menu point on all pages that are woocommerce pages
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com