Skip to main content

Create a page without a header and footer

You can hide the header or the footer from any page of your platform, or hide both, by adding a custom CSS section to the page in the page builder.

Steps​

  1. In the side menu, click Manage the pages of your site, then choose the page you want to hide the header or footer from.

    The list of pages in the page builder, to choose the page

  2. In the side menu, click Re-order / delete the sections of the page.

    The re-order or delete sections icon in the side menu

  3. Click Add a new section.

    The Add a new section button under the list of sections

  4. In the Add a section window, choose the Custom tab, then choose the Custom CSS section.

    The Custom tab in the Add a section window with the custom CSS section

  5. In the Custom CSS code (applies to the whole page) field, add the code for the part you want to hide.

    To hide the header:

    header,
    [id^="section-nav"],
    header[data-maglev-section-id] {
    display: none !important;
    }

    To hide the footer:

    footer,
    .footer__container,
    [id^="section-footer"],
    footer[data-maglev-section-id] {
    display: none !important;
    }

    To hide both the header and the footer, add both codes.

    The code that hides the header and footer in the custom CSS code field

  6. Click the Publish page button to save your changes and apply them to the page.

    The Publish page button at the top of the page builder