PDA

View Full Version : post layout HELP


sfera
2006-03-23, 10:42 AM
on my post template my theme originally does not show the side bar, I have attempted to add it. (example post http://www.biggerpenisinfo.com/sizegenetics-6-months-case-study-results/)

in FF its almost there but the bottom is messed up and in IE its totally fucked up.

Here is my post template code:


<?php include "header.php"; ?>
<div id="container" class="clearfix">
<?php include('sidebar.php'); ?>
<div id="topcontentdouble"></div>
<div id="content">
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="postnavigation">
<div class="left">
<?php next_post(' % »','','yes') ?>
</div>

<div class="right">
<?php previous_post('« %','','yes') ?>
</div>
</div>

<div class="post">
<div class="title" id="post-<?php the_ID(); ?>">
<a href="<?php the_permalink() ?>" rel="bookmark">
<?php the_title(); ?>
</a>
</div>
<h3><span class="posted"><?php _e("Posted on "); ?></span>
<?php the_time('l j F Y',display); ?>
</h3>
<div class="storycontent">
<?php the_content(__('(more...)')); ?> <?php comments_template(); ?>
</div> <br/><?php wp_link_pages(); ?>

</div>

<?php endwhile; else: ?>
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
<?php endif; ?>
<div id="bottomcontent"></div>
</div>
</div>
<?php include('footer.php'); ?>



how do i fix this problem?

248877409

walrus
2006-03-23, 03:34 PM
I am neither a designer nor a WP expert but Firefox has a really cool extension EditCSS which allows you to edit the CSS in a browser. So being the curious type, I commented out all the CSS that had anything to do with the comments section on your page and, in Firefox that pulled everything back in line.

Therefore, I suspect there is a conflict between the CSS and the comments_template.

Obviously I couldnt check in IE.

Damn am I dumb, I just notice the little thing for explaining why you edited a post....