Okay
  Public Ticket #2218666
Header and footer settings
Closed

Comments

  • mats317 started the conversation

    Id like to create landing pages without a footer and Id also like to remove all internal links from the header except for the CTA and Home link.  How would I go about that?

  •  1,283
    Bryan replied

    Hello

    You can use this code to remove main menu and footer for that page:

    .page-id-1802 .footer {display: none;}
    .page-id-1802 .header__wrapper nav.site__navigation#site__navigation {
        display: none !important;
    }
    

    Thanks

  • mats317 replied

    Hi Linh

    Would you be able to provide the path I should use to add the code.  I went to the page and added the code using the code editor. It just added a block at the bottom of the page and in the preview showed the code and didnt remove the menu or the footer.

  •  1,283
    Bryan replied

    Hello

    You can add the code to Customize > Addition Css section. 

    Thanks

  • mats317 replied

    Thanks Linh


    I added the code and it worked.  Only problem now is the header is squished and there is a bot of white space above the top block.  

    Attached files:  Screen Shot 2019-11-21 at 2.04.32 PM.png

  •  1,283
    Bryan replied

    You can try more with this code:

    .page-id-1802 .content__wrapper.container {
        padding-top: 0 !important;
    }
    

    https://prnt.sc/q0cn89

    Thanks