Hide menu on all project pages
-
Hi All / Armin
I want to be able to hide the '.sitetitle' and 'nav.primary' on all project pages.
I understand how to add the css to hide these on specific pages but is there a way to these elements on every project page and any new ones in the future instead of having to add the specific page code every time?
Thanks for your help!
Best
Mike
-
Yes!
body.type-project{ }
That is the css selector you are looking for. Of course it will be like:
body.type-project nav.primary{ display: none; }
-
Hi @arminunruh - i'm trying to hide the sitetitle and menu just for projects - but I do want them shown on the categories. This code above seems to hide the sitetitle on the categories pages. Any ideas?
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
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com