switch the news to be in a single column

This commit is contained in:
Vasil Kolev 2021-07-21 19:15:51 +03:00 committed by Ivaylo Markov
parent 4d158f28e4
commit d4286f4688
2 changed files with 1 additions and 2 deletions

View File

@ -406,7 +406,6 @@ nav .selected {
padding: 0 0 0 1em; padding: 0 0 0 1em;
} }
.grid .col3 { .grid .col3 {
width: 33%;
float: left; float: left;
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;

View File

@ -77,7 +77,7 @@ function sh_latest_posts($atts){
<a class="button" href="<?php the_permalink(); ?>"><?php pll_e('виж цялата новина');?></a> <a class="button" href="<?php the_permalink(); ?>"><?php pll_e('виж цялата новина');?></a>
</div> </div>
<?php <?php
if ($i==3) # if ($i==3)
echo '</div></section><section class="content"><div class="grid">'; echo '</div></section><section class="content"><div class="grid">';
endwhile; endwhile;