View Single Post
  #2  
Old May 28th, 2013, 08:49 AM
Eric's Avatar
Eric Eric is offline
Datafeedr Team
 
Join Date: Feb 2008
Posts: 16,902
Default

Hi,

You might try changing this:
HTML Code:
    <div class="container_12"> 
        <aside class="grid_3_no_margin sidebarleft alignleft"> 
            <?php generated_dynamic_sidebar() ?> 
        </aside> 
        <div class="grid_9 alignright omega"> 
            <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
                <?php the_content(); ?> 
            <?php endwhile; ?>     
        </div> 
        <div class="clear"></div> 
    </div> 
To this:
HTML Code:
<?php if (is_dfr('category')) : ?>
    <div class="container_12"> 
        <aside class="grid_3_no_margin sidebarleft alignleft"> 
            <?php generated_dynamic_sidebar() ?> 
        </aside> 
        <div class="grid_9 alignright omega"> 
            <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
                <?php the_content(); ?> 
            <?php endwhile; ?>     
        </div> 
        <div class="clear"></div> 
    </div>
<?php else : ?>
    <div class="container_12"> 
        <div class="grid_12"> 
            <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> 
                <?php the_content(); ?> 
            <?php endwhile; ?>     
        </div> 
        <div class="clear"></div> 
    </div>
<?php endif; ?>
Eric