I need a CSS pro’s help… For some reason, the Category.php page for all Category pages on the wordpress blog I am working on loads the SIDEBAR.php at the bottom instead of to the right of the content? Is this a CSS issue or an issue with the PHP?
Here is the CSS: [url]http://s215038318.onlinehome.us/screen.css
I have included the PHP below:
[code=php]
<?php
/**
* The main template file for display category page.
*
* @package WordPress
* @subpackage Pim
*/
get_header();
?>
<!– Begin content –>
<div id=”content_wrapper”>
<div class=”inner”>
<!– Begin main content –>
<div class=”two_third”>
<div class=”sidebar_content”>
<?php peerapong_breadcrumbs(); ?><br/>
<?php
if (have_posts()) : while (have_posts()) : the_post();
$image_thumb = get_post_meta(get_the_ID(), ‘blog_thumb_image_url’, true);
?>
<!– Begin each blog post –>
<div class=”post_wrapper”>
<div class=”post_header”>
<h2 class=”cufon”>
<a href=”<?php the_permalink(); ?>” title=”<?php the_title(); ?>”>
<?php the_title(); ?>
</a>
<a href=”<?php echo gen_permalink(get_permalink(), ‘quick_view=1’); ?>” class=”quick_view”><img src=”<?php bloginfo( ‘stylesheet_directory’ ); ?>/images/icon_quick_view.png” style=”width:16px” class=”mid_align”/></a>
</h2>
<div class=”post_detail”>
Posted by: <?php the_author_posts_link(); ?>
Tags:
<?php the_tags(”); ?>
Posted date:
<?php the_time(‘F j, Y’); ?> <?php edit_post_link(‘edit post’, ‘, ‘, ”); ?>
|
<?php comments_number(‘No comment’, ‘One Comment’, ‘% Comments’); ?>
</div>
</div>
<br class=”clear”/><br/>
<div class=”post_img”>
<img src=”<?php echo get_bloginfo( ‘stylesheet_directory’ ); ?>/timthumb.php?src=<?php echo $image_thumb; ?>&h=300&w=600&zc=1″ alt=”” />
</div>
<br class=”clear”/>
<?php echo get_the_content_with_formatting(); ?>
</div>
<!– End each blog post –>
<?php endwhile; endif; ?>
<div class=”pagination”><p><?php posts_nav_link(‘ ‘); ?></p></div>
</div>
</div>
<div class=”one_third last”>
<div class=”sidebar”>
<div class=”content”>
<ul class=”sidebar_widget”>
<?php dynamic_sidebar(‘Blog Sidebar’); ?>
</ul>
</div>
</div>
</div>
</div>
<!– End main content –>
</div>
<br class=”clear”/>
<!– End content –>
<?php get_footer(); ?>