• Hi, I need to hide from this page the header and the footer. The results I need is a blank page with only the form..
    I tried with custom css:
    .site-header {display:none;}
    .site-footer {display:none;}

    but it doesn’t work..

    Thanks to anyone will answer

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • lisa

    (@contentiskey)

    Suggestions:

    -Create a new page template with a header template and footer template that are different than the the normal header and footer of your theme.

    -You could also approach the situation with some PHP conditional tags in the current page template.

    Use a child theme for your changes. Do not edit the actual theme.

    -Ask the theme’s developer for ideas. There might also be a built in template for this. Some themes have landing page templates that might meet your needs.

    You can use simple css by targeting the page. Also, be sure to be targeting the right classes. It seems you header is .header_inner and your footer is .footer_top

    try something like this

    .page-id-YOURPAGEID .header_inner .footer_top {
    display: none !important;
    }

    Just replace YOURPAGEID with your pages ID

    • This reply was modified 6 years, 10 months ago by luisthegeek.
    • This reply was modified 6 years, 10 months ago by luisthegeek.
    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    You probably want to find a PHP solution to avoid getting penalised by search engines.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide Header&Footer from single page’ is closed to new replies.