WordPress.org

Support

Support » Themes and Templates » [Resolved] The post no columns?

[Resolved] The post no columns?

Viewing 1 replies (of 1 total)
  • Hi,

    in Custom CSS, put
    .post-list .post, .post-list .page { width: 100%; }

    in index.php
    replaced

    <div class="post-list group">
    				<?php $i = 1; echo '<div class="post-row">'; while ( have_posts() ): the_post(); ?>
    				<?php get_template_part('content'); ?>
    				<?php if($i % 2 == 0) { echo '</div><div class="post-row">'; } $i++; endwhile; echo '</div>'; ?>
    			</div><!--/.post-list-->

    by

    <div class="post-list group">
    				<?php while ( have_posts() ): the_post(); ?>
    				<?php get_template_part('content'); ?>
    				<?php endwhile; ?>
    			</div><!--/.post-list-->

    So the posts are on a single column

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] The post no columns?’ is closed to new replies.