• I would like to make each post into its individual box with a border

    How would I got about doing that ?

    https://www.taintedhollywood.com/

    I looked up “the loop” in the codex I didnt fully understand it. And how would I go about getting it to work in CSS styles?

    Thank you all for your help.

Viewing 1 replies (of 1 total)
  • In order to box each post, you’re going to have to add an wrapper div around each post that can then be styled.

    Try amending your template to:

    <div class="postarea">
    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    <div <?php post_class();?>>

    and

    <div class="postmeta2"> [ some code ]</div>
    </div>

    Then apply your post background and border styles to .post in style.css.

Viewing 1 replies (of 1 total)
  • The topic ‘Making each post in seperate box..’ is closed to new replies.