Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • I got it to work. This thing is genius. Thanks for posting it.

    Here’s the code I changed in the header. I’m using the deep-silent theme. I named the call after the page it’s referencing in the css.

    </div>
    <div class=”header-search”>
    <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
    </div>
    </div>
    </div>
    <div id=”page”>

    <div id=”header”>
    <?php if (is_page(‘8’)) { ?>
    <div id=”headerimg”>
    <?php } ?>
    <?php if (is_page(‘2’)) { ?>
    <div id=”headerimgabout”>
    <?php } ?>
    <?php if (is_page(‘3’)) { ?>
    <div id=”headerimgvideo”>
    <?php } ?>
    <?php if (is_page(’45’)) { ?>
    <div id=”headerimglinks”>
    <?php } ?>
    <?php if (is_page(‘6’)) { ?>
    <div id=”headerimgphotos”>
    <?php } ?>
    <?php if (is_page(‘8’)) { ?>
    <div id=”headerimgcontact”>
    <?php } ?>
    <div class=”headerimg-left”>
    <h1>/”><?php bloginfo(‘name’); ?></h1>
    <div class=”description”><?php bloginfo(‘description’); ?></div>
    </div>
    <div class=”headerimg-right”>
    </div>
    </div>
    </div>

    I also would like to know where in the header.php code do you put this:

    <?php if (is_page(‘8’)) { ?>
    <div id=”header_author”>
    <?php } ?>
    <?php if (is_page(’11’)) { ?>
    <div id=”header”>
    <?php } ?>
    </div>

    Let us know.

    Thread Starter vondada

    (@vondada)

    That did it. Perfectly.

    I knew that I was overlooking something.

    Awesome. Thanks!

    Curious as to what you changed in the style.css to lower the menu bar on the header? I’ve been trying to figure that out but am having a hard time.

    You have to change the background color in the style.css file to match the bottom-most color of the “light.gif” graphic. Then you won’t see the grey bar anymore.

    The grey is a default background. Change the hex dec number to whatever the color is and then reload the style.css. The problem will go away.

    }
    body {
    background:#015e7d url(img/bg.jpg) repeat-x;
    color:#555;
    font-family:Verdana,”BitStream vera Sans”,Helvetica,Sans-serif;
    font-size:12px;
    }

Viewing 5 replies - 1 through 5 (of 5 total)