Hide Vertical Navigation Menu on One Page?
-
Hi,
I’m just wondering is there a way/code to hide the vertical navigation menu on just one page?
-
since I don’t have a way to see your website — it’s hard to say how to do it.
however, it is possible to conditionally display items (i.e. navigation menu)
if you can get in touch with the theme developer, s/he might be able to tell you the steps to accomplish your goal.If you link your website it may be easier. The HTML body tag get populated with classes specific for that page. Usually with the page ID and page slug which you could use to hide the menu via CSS on that page only.
Hi, thanks for the replies.
The link is katiehennessy.ie/hello
The theme developer wasn’t too sure how it was done so I said I’d try here!I’m assuming the vertical menu is the one on the right of the page content. You could hide this by adding the following to Appearance -> Customize -> Custom CSS:
body.page-id-2 #crt-nav-wrap { display: none; }Thanks Howdy_McGee, worked like a charm!
Would you be able to help me in just one more thing? Can I implement this to change “margin-left” on just this page?
Thanks again!
-
This reply was modified 7 years, 9 months ago by
caitnihaonghusa.
I’ve found that as I change the width of the window, the bar still remains, is there another id for that, I can’t seem to find it…
There looks like there’s a lot of things wrong with the margin all at different breakpoints unfortunately. Here’s how you can hide the mobile to bar though:
body.page-id-2 #crt-nav-sm { display: none; }Oh I see, is there any way to change that?
Also thank you, that worked!
-
This reply was modified 7 years, 9 months ago by
The topic ‘Hide Vertical Navigation Menu on One Page?’ is closed to new replies.