styled custom post types view in search

This commit is contained in:
jorge 2024-03-11 13:27:52 +01:00
parent ed9cb8d92a
commit 765904018c
9 changed files with 906 additions and 232 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@ get_header();
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); <?php while ( have_posts() ) : the_post();
get_template_part( 'template-parts/section', 'eachpost' ); get_template_part( 'template-parts/section', 'eachfund' );
endwhile; endwhile;

View File

@ -31,7 +31,7 @@ get_header();
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); <?php while ( have_posts() ) : the_post();
get_template_part( 'template-parts/section', 'eachpost' ); get_template_part( 'template-parts/section', 'eachmember' );
endwhile; endwhile;

View File

@ -31,7 +31,7 @@ get_header();
<?php if ( have_posts() ) : ?> <?php if ( have_posts() ) : ?>
<?php while ( have_posts() ) : the_post(); <?php while ( have_posts() ) : the_post();
get_template_part( 'template-parts/section', 'eachpost' ); get_template_part( 'template-parts/section', 'eachconvo' );
endwhile; endwhile;

File diff suppressed because one or more lines are too long

View File

@ -149,6 +149,9 @@
.xarxaprod-filtered-content { .xarxaprod-filtered-content {
display: grid; display: grid;
grid-template-columns: 1fr; grid-template-columns: 1fr;
.archive-posts {
grid-template-columns: repeat(1 , minmax(0,1fr));
}
} }
.xarxaprod-filters { .xarxaprod-filters {
section { section {
@ -259,6 +262,9 @@
//only bigger than 80rem //only bigger than 80rem
.xarxaprod-filtered-content { .xarxaprod-filtered-content {
grid-template-columns: 1fr 3fr; grid-template-columns: 1fr 3fr;
.archive-posts {
grid-template-columns: repeat(2 , minmax(0,1fr));
}
} }
.archive-posts { .archive-posts {
grid-template-columns: repeat(3 , minmax(0,1fr)); grid-template-columns: repeat(3 , minmax(0,1fr));

523
style.css

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long