Jump to content
Sign in to follow this  
johan_somers

WHP - Sub navigation bar

Recommended Posts

johan_somers

Is there a way to delete the subnavgation bar on 1 single page, as there is not enough room to display all submenu items - and therefor not necessary. It should remain on all other pages.

Share this post


Link to post
Share on other sites
cmunns

Can you provide a link to the page you want it removed from?

Share this post


Link to post
Share on other sites
johan_somers

Adam, sorry, but it's a corporate intranet page. It is a standard "default template" I used, but it has too many submenus to display, so they do not fit on that single subnav line; I just wanted to delete that from the page.

Share this post


Link to post
Share on other sites
cmunns

`#sub_head #subnav {display:none;}` The above CSS will remove only the subnav (on all pages) You could use just #sub_head to remove the whole area including the searchbar to far right. But to do it on only one page you need to view the source of the page and see what number is attached to the body class. It will look like something like this `` So with your appropriate page id number your CSS can go like this in your custom css theme option `.page-id-xx #sub_head {display:none;}`

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×