Discrepencies with my .post re: bottom border
-
This is my css
.post {color: #231F20; border-bottom: 1px solid #003333; padding: 0 20px 10px 0; width:576px; margin: 0 0 10px 0;}
It is used on my Single Post single.php and Page Template page.php
However the bottom border only works on the posts not on the pages. I have pasted the php below:
single.php
<?php get_header() ?> <div id="container"> <div id="content"> <?php the_post() ?> <div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class(); ?>"> <h2 class="entry-title"><?php the_title(); ?></h2><span class="cat-links"><?php printf(__('%s', 'sandbox'), get_the_category_list(' | ')) ?></span> <div class="entry-content"> <?php the_content(''.__('Read More <span class="meta-nav">»</span>', 'sandbox').''); ?><?php the_meta(); ?> </div> <!-- .post --> </div></div><!-- #content --> <?php get_sidebar() ?> <?php get_footer() ?> </div><!-- #container -->
page.php
<?php get_header() ?> <div id="container"> <div id="content"> <?php the_post() ?> <div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class() ?>"> <h2 class="page-title"><?php the_title(); ?></h2> <div class="entry-content"> <?php the_content() ?> </div> </div><!-- .post --> </div><!-- #content --> <?php get_sidebar() ?> <?php get_footer() ?> </div><!-- #container -->
Does anyone know why this would be?
The web address for the site is:
https://www.thewhatwherewhen.com/artThanks!
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Discrepencies with my .post re: bottom border’ is closed to new replies.