Public Ticket #1150170
Header Customization


  • Sinclair started the conversation


    I would like to remove the header completely from a one page homepage. I have tried using CSS, but have only succeeded in removing the text and search bar. I want the slider to begin at the very top of the page and fill the full screen. Thank you. 

  •  46
    Future replied


    You need to open the file wp-content/themes/humanitas/header.php and wrap the "header" in this markup:

    <?php if ( !is_front_page() ): ?>
        <header id="masthead" ...>...</header>
    <?php endif; ?>

    Also you may need to remove the gap and add this css in style.css (Appearance --> Editor).

    .home .site-content {padding-top: 0 !important;}

    Let me know if it works for you.

    Also, check the screenshot attached.


    Attached files:  Screen Shot 2017-04-27 at 11.12.57 AM.png