• Resolved cpt.shenanigans

    (@cptshenanigans)


    Hello!

    Can anyone tell me how to invoke the navbar (without the rest of the header contents) in a blank page template? The page in question is http://www.bostonapplesupport.com/contact

    and the code I’m using is:

    <?php
    /*
    Template Name: Blank
    */
    ?>
    
    <style type="text/css">
    body {
    background-color:#E5E5E5;
        background-image:  url(/wp-content/uploads/2014/08/Contact.jpg);
        background-size: contain;                      /* <------ */
        background-repeat: no-repeat;
      min-height: 650px;
     background-attachment: fixed;
        background-position: center;
    }</style>

    Thanks for any help you can provide!

Viewing 1 replies (of 1 total)
  • Thread Starter cpt.shenanigans

    (@cptshenanigans)

    I solved this by opening up header.php and copying everything from <!DOCTYPE html> down to <!-- #site-navigation --> and then closing with </header> and pasting it into the top portion of a blank page template.

Viewing 1 replies (of 1 total)

The topic ‘Invoke Navbar within blank page template’ is closed to new replies.