Support » Theme: Twenty Nineteen » Grid Header & Footer

  • Resolved aceppp

    (@aceppp)


    Hi, How I can remove header and footer on a specifics pages? I need it for clean landing pages. Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Insert this CSS into Appearance > Customize > Additional CSS (or Custom CSS), then clear cache 🙂

    .page-id-xxx #masthead, .page-id-xxx footer#colophon {
        display: none;
    }

    with xxx is id of Page.

    • This reply was modified 2 months, 3 weeks ago by  Tuan Phan. Reason: add code tag

    @khunglong its work, thanks man 🙂

    Moderator Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    @aceppp, Removing the header and footer via CSS the way that it has been suggested here is not a good approach: Search engines have a problem with people hiding significant information off the screen. The header and footer contain significant information. This is a shortcut solution but will cause you more harm than you may have wished for.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.