bottom-border issues
-
I’m trying to get a horizontal line between posts, but “border-bottom: 1px solid #C2C2C2;” is placing the border above the comments for the post. I’ve checked similar threads around here, and none of them have seemed to help (most notable adding an <hr /> tag to the post div and styling that in the CSS, which still put the line above the comments.
Here’s my div structure, the CSS for border-bottom is in the .post class as written above.
<div id="main">
<?php if (have_posts())....blah...?>
<div class="post" id="post-<?php the_ID(); ?>">
<h3 class="storytitle">Title/Permalink</h3>
<div class="storycontent">
<?php the_content(__('(more...)')); ?>
</div><div class="meta">
<p>Time/Author/Tags</p>
</div>
<div class="feedback">
# of comments, etc.
</div>
</div><?php comments_template(); // Get wp-comments.php template ?>
endwhile/endif PHP code here
</div>The site is at https://www.destinationbasketball.com/index.php using a theme mashed together from numerous others.
Any thoughts? Thanks!
- The topic ‘bottom-border issues’ is closed to new replies.