Viewing 2 replies - 1 through 2 (of 2 total)
  • should be possible by wrapping the code of the div .slogan into a conditional statement using is_front_page() or is_home() :

    edit the template file that displays the front page (usually index.php) and do something like:

    <?php if(is_front_page || is_home() ) : ?>
    <div class="slogan">
    					<div class="indent"><h2><img alt="" ...(...php code....)...a></p></div>
    				</div>
    <?php endif; ?>

    and also edit header.php and add the following, before </head>

    <?php if(is_front_page || is_home() ) : ?>
    <style type="text/css" media="screen">
    .header { height:219px;}
    </style>
    <?php endif; ?>

    adjust the height to get the design you want.

    Thread Starter sandra408

    (@sandra408)

    Thanks. I’ll try it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Is there a way to show a banner in the header only on the front page?’ is closed to new replies.