• Hi I am working on a theme calling in the header, sidebar and footer. However when I call in the content or post, I want it to be in a particular white box seen here: http://www.divinepresents.com

    My main index looks like this

    <?php
    /*
    Template Name: MAIN
    */
    ?>

    <?php get_header(); ?>

    <div class=”email” onclick=”parent.location=’mailto:giftbaskets@divine-presents.com'”><img src=”images/global/Email-Divine-Presents-Gift-Baskets.jpg” alt=”e-mail Diane Brown” /></div>
    <div class=”arrowsSign”><img src=”images/global/arrows-sign.jpg” alt=”Sympathy Gift Baskets” width=”103″ height=”150″ /></div>

    <div class=”content”>
    <img id=”slogan” src=”images/global/Unique-Gifts-And-specialty-Gift-Baskets.jpg” alt=”Unique & Gifts ” width=”223″ height=”22″ />
    <div class=”textArea”></div></div>

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    I want the post material to show up within the textarea. My question is how do I do this. I do I make sure that when the post shows up, it is within the text area and maintains the look I have set up in the css.

    Thanks

    </body>
    </html>

  • The topic ‘Question about loop in mainindex.php’ is closed to new replies.