No Header Template

No Header Template

This template relies on styling the individual page in custom.css as follows:

  1. Modify the wordpress theme template header.php

    Replace the default <body> tag with:

    <body <?php body_class(); ?>>

  2. Doing this means you can target individual pages and posts with CSS styling changes (load the page and view source to identify the page/post id which will be appended dynamically to the body tag)

    More details at:

  3. Remove the header via custom.css:

    .page-id-1451 #header { display: none; }

  4. Set a top margin for the content box using [style] and !important commands to overide the default inline level in this theme (which is otherwise impossible to override):

    .page-id-1451 .box5[style] { margin-top: 25px !important; }