render all categories as squares
This commit is contained in:
parent
93c76a764e
commit
a9183e91ac
|
@ -23,7 +23,7 @@ get_header(); ?>
|
|||
|
||||
<section class="category-posts">
|
||||
<header>
|
||||
<h2> <?php echo get_cat_name( );?></h2>
|
||||
<h2><?php single_term_title( );?></h2>
|
||||
</header>
|
||||
<main class="">
|
||||
<?php $the_query = new WP_Query( array( 'posts_per_page' => 6 ) ); ?>
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -71,10 +71,10 @@
|
|||
|
||||
|
||||
//
|
||||
// news & resources category
|
||||
// category view
|
||||
//--------------
|
||||
|
||||
.news,.resources,.news-category,.resources-category {
|
||||
.category-posts{
|
||||
@include xy-grid;
|
||||
header,main,aside {
|
||||
@include breakpoint(small){
|
||||
|
@ -145,7 +145,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
// end news category
|
||||
// end category-posts
|
||||
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue