Separate Individual Posts with border bottom
-
I’d like to separate each post with something like a dotted line.
I can’t figure out how to do this because the theme I’ve chosen seems to include all the posts in the same section.
In other words when I add border-bottom: 1px dotted #999999; to any of the styles connected to blog posts the border only shows up at the bottom of the last post instead of between each individual post.
here is the site https://ktotheatothei.com/blog/
my index.php
<?php get_header('blog'); ?> <?php get_sidebar(); ?> <div class="box sml" id="blog"> <h1><b>THOUGHTS</b>/MUSINGS</h1> <div> <?php if (have_posts()) : ?> <?php while (have_posts()) : the_post(); ?> <h2><a class="title" href="<?php the_permalink() ?>" style="text-decoration:none;" rel="bookmark""><?php the_title(); ?></a><span><?php the_time('m.d.y') ?></span></h2> <?php the_content('Weiterlesen »'); ?> <ul class="controls"> <br /> <li class="comments"> <?php comments_popup_link('0 Comments »', '1 Comment »', '% Comments »'); ?> </li> </ul> <?php endwhile; ?> </div> </div><?php else : ?> <h2 class="center">Not Found</h2> <p class="center">Sorry, but you are looking for something that isn't here.</p> <?php endif; ?> </div> </div> <?php get_footer(); ?>
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Separate Individual Posts with border bottom’ is closed to new replies.