render all categories as squares

This commit is contained in:
jorge 2022-03-16 12:43:47 +01:00
parent 93c76a764e
commit a9183e91ac
3 changed files with 19 additions and 19 deletions

View File

@ -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

View File

@ -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
//