Home › Forums › All Other Themes › Can I remove the navigation menus from ONE page? – Movers and Packers Pro
- This topic has 6 replies, 2 voices, and was last updated 6 years, 8 months ago by
Sonnal S Sinha.
-
AuthorPosts
-
March 19, 2017 at 3:09 am #65947
Hi all.
I’d like to remove the navigation menu(s) from a single page. I have searched around and found some code that people suggest will do this but I’ve not been able to get it to work:
.page-id-XXXX #menu-main {
display: none !important;
}I have the correct page-id but the menu(s) are persistant. Actually, I’ve love to be able to remove navigation and all the footer(s) from the individual page.
March 20, 2017 at 5:33 am #66001Hi Marc,
From which page do you want to remove the navigation?
Regards,
DaveMarch 20, 2017 at 10:58 pm #66152HI Dave (et al)
Any page Dave… ie: I would like to be able to create a new page – Pages > Add New – and be able to remove the navigation (and possibly the footer) from that new page.
Thanks
Marc
March 21, 2017 at 6:08 am #66175Hi Marc,
Add this code in Custom CSS Box:
.page-template .header .nav{display:none !important;}
Regards,
DaveMarch 21, 2017 at 6:25 am #66183HA, that works a treat but on all pages in the site 😀
The page identifier for the one I am trying this on is “post=2782″… how can I specify a particular page? Would it be:
.page-id-2782 .header .nav{display:none !important;}
Sorry Dave, I’m a bit old and slow on this 😉
March 21, 2017 at 6:29 am #66185Actually… don’t answer that 😉
I actually got something right. Yeah, you can laugh but like I said Dave, I am old and slow 😀
March 21, 2017 at 9:53 am #66206🙂
-
AuthorPosts
- You must be logged in to reply to this topic.