Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #271173

    Michael R
    Participant

    Hello,

    I’m creating a landing page for a sales funnel but I need to remove the menu from one or two specific pages. Is there documentation on how to do this? I didn’t see a template that removed the menu, only the header, footer or sidebars.

    Thank you.

    #271266

    Prasant Rai
    Moderator

    Hello Michael,

    Thanks for writing in!

    TO remove navigation from specific pages, kindly use the following CSS under Custom > CSS in the Customizer:

    .page-id-414 .x-navbar-wrap {
        display: none;
    }

    Note: Kindly replace the page id with your own.

    To find page id kindly walk-through the following thread:

    https://theme.co/x/member/forums/topic/how-to-turn-off-commenting-on-blog-posts/#post-271088

    Hope that helps.

    Thanks.

    #271376

    Michael R
    Participant

    Perfect. Thank you!

    #271493

    John Ezra
    Member

    You’re most welcome!

    #912881

    iamwithU
    Participant

    Hello,
    I see on top the tip to remove sidebar navigation from certain pages:

    .page-id-414 .x-navbar-wrap {
    display: none;
    }

    I tried applying that to the page created by Woocommerce but it doesn’t work. For a start, I can’t use Cornerstone to edit the page. Where should I enter the above CSS?

    #913275

    Rahul
    Moderator

    Hi there, Can you provide us with the page where you’d want to achieve this?

    Thanks

    #913852

    iamwithU
    Participant

    Hi Rahul,
    I’m a beginner, and my site is not up. I just tried using Woocommerce to do a product page. So it can be just the overall category page or a single product page in Woocommerce.

    Since I can’t use Cornerstone to edit, where should I input the CSS?

    #914138

    Joao
    Moderator

    Hi there,

    You can add the CSS code at your WP Dashboard/ Appearance / Customizer / Custom / CSS

    Let us know if you need further help,

    Thanks,

    Joao

    #978573

    iamwithU
    Participant

    Hi Joao,
    I see where you meant.

    So the formula is to add this:

    .page-id-414 .x-navbar-wrap {
    display: none;
    }

    Is it correct:

    a) instead of using the number “414”, I input the number of the page where I want the menu removed?

    b) to look for the correct number, I go to Dashboard, pages, then hover over that page, and see the “post=XXX” at the bottom left of my screen?

    By the way, how do I look out for your reply the next day? This is thread not part of “My Topic”. It took me a long time to search for this page in the Forum.

    #978968

    Joao
    Moderator

    Hi There,

    1) Yes you put the page ID

    2) Please refer to this link for more information

    https://community.theme.co/kb/how-to-locate-post-ids/

    3) When you are participating on a topic which you didnt started to follow it, you need to go the Forum,

    Click on My Topics, then on My Replies

    See image attached:

    Let us know if it you need further help with anything,

    Thanks,

    Joao

    #986056

    iamwithU
    Participant

    Hi Joao,
    Your advice helped – yes, I got the menu removed from the one page I wanted.

    However, the side bar remains – meaning, the text and words of the menu & header logo are gone, but this leaves a blank bar (which at the moment, has a background image). How do I remove that side bar (& background image) too, so that the rest of the main body stretches to fill the whole width?

    Look forward to hear from you again.

    #986202

    Thai
    Moderator

    Hi @iamwithu,

    Please provide us with your website URL so we can take a closer look.

    Thank you.

    #986408

    iamwithU
    Participant

    Hi Thai,
    My website is not up yet. 🙁

    Any generic advice, or codes I can use?

    #986914

    Rue Nel
    Moderator

    Hey There,

    Could you please tell us what stack are your using and also tell us the Navbar Position whether is it static, fixed top, fixed left or fixed right. Perhaps a screenshot would be helpful so that we will have an idea of how your site looks like.

    Please let us know how it goes.