[Resolved] Remove Header from Theme

  • Author
    Posts
  • #4673

    Andrew Misplon
    Keymaster

    Hi Brendan

    Removing the header is problematic because within the header file is wp_header through which lots of important scripts are outputted. The easiest would be to use CSS in a Custom CSS plugin like Simple Custom CSS or in your child theme style.css file.

    If it’s the home page you’d say something like:

    /* Home */
    .home .site-header,
    .home .site-footer {
    	display:none;
    }
    
    .home #page .site-content {
    	padding-top: 0;
    	padding-bottom: 0;
    }

    (If you’re modifying themes files at a code level, please, be sure to use a child theme).

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

Scroll to top