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:
    http://www.nathanrice.net/blog/wordpress-2-8-and-the-body_class-function/
    http://codex.wordpress.org/Function_Reference/body_class

  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 element.style in this theme (which is otherwise impossible to override):

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