Before you ask please READ THIS

Remove Menu From a Single (or Selected) Pages

edited May 2015 in Blame Posts: 28
Hello again!

Everything is running great with my website: http://www.wileychandler.com and I get compliments on it all the time. Of course, I always tell them that it was mostly the work of Apollo 13!

I am now trying to add a few pages that will not be accessible via the Home Page of the website and will not contain the Main Site Navigation Menu. I know that it is quite simple to add a page with no direct menu connection to the Home Page but I am hoping to be able to remove the Main Site Navigation Menu from that and possibly other pages. Is this possible via a custom CSS insert with a specification for each of the pages that I'd like to menu on?

Thanks for the great template and all of the great support so far!
Post edited by wileychandler on

Comments

  • AirAir
    Posts: 10,970
    Thanks for your kindness :-)

    Yes, it is easy to do it when you have id of such page. In <body> element of such page you will find class like this: page-id-255.

    Now with this you can construct such style:
    .page-id-255 .top-menu,
    .page-id-369 .top-menu,
    .page-id-444 .top-menu{
    display: none;
    }
    I have added few ids just as an example.

    Check if such solution is enough for you:-)

    With kind regards.
  • I'll give this a try now & let you know how it goes. Thank you so much!
  • This worked perfectly! I also found that by replacing 'top-menu' with 'logo', it was easy to remove the logo as well.

    Thanks again!
  • AirAir
    Posts: 10,970
    Indeed :-)

    Glad you figured ti out ;-)
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!