fix blog archive template to match main blog
This commit is contained in:
parent
110e790827
commit
8985626468
3 changed files with 16 additions and 8 deletions
4
404.php
4
404.php
|
@ -18,8 +18,8 @@ get_header();
|
|||
<article class="error-404 not-found entry">
|
||||
<header class="entry-header">
|
||||
<h1 class="entry-title">Oops!</h1>
|
||||
<h3 class="entry-subtitle">That profile can't be displayed right now.</h3>
|
||||
<h3 class="entry-subtitle">Looking for one of these?</h3>
|
||||
<h3 class="entry-subtitle">That can't be displayed right now.</h3>
|
||||
<h3 class="entry-subtitle">Looking for one of these profiles?</h3>
|
||||
</header><!-- .page-header -->
|
||||
|
||||
<?php get_template_part( 'template-parts/content/content', 'directory' ); ?>
|
||||
|
|
|
@ -12,8 +12,8 @@
|
|||
get_header();
|
||||
?>
|
||||
|
||||
<div id="primary" class="content-area">
|
||||
<main id="main" class="site-main">
|
||||
<section id="primary" class="content-area">
|
||||
<main id="main" class="site-main blog-main archive">
|
||||
|
||||
<?php if ( have_posts() ) : ?>
|
||||
|
||||
|
@ -34,7 +34,7 @@ get_header();
|
|||
* called content-___.php (where ___ is the Post Format name) and that
|
||||
* will be used instead.
|
||||
*/
|
||||
get_template_part( 'template-parts/content/content', 'excerpt' );
|
||||
get_template_part( 'template-parts/content/content', 'loop' );
|
||||
|
||||
// End the loop.
|
||||
endwhile;
|
||||
|
@ -49,7 +49,7 @@ get_header();
|
|||
endif;
|
||||
?>
|
||||
</main><!-- #main -->
|
||||
</div><!-- #primary -->
|
||||
</section><!-- #primary -->
|
||||
|
||||
<?php
|
||||
get_footer();
|
||||
|
|
12
style.css
12
style.css
|
@ -5,7 +5,7 @@
|
|||
Author: Evan Mullins
|
||||
Author URI: https://circlecube.com
|
||||
Template: twentynineteen
|
||||
Version: 1.9.10
|
||||
Version: 1.9.11
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
Text Domain: wasmo
|
||||
|
@ -500,9 +500,17 @@ cite span {
|
|||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-around;
|
||||
justify-content: space-between;
|
||||
margin: 0 auto;
|
||||
max-width: 1160px;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
.blog-main .page-header {
|
||||
margin: 2rem 1rem;
|
||||
width: 100%;
|
||||
}
|
||||
.blog-main .page-header .page-description {
|
||||
display: inline-block;
|
||||
}
|
||||
.blog-main article.post {
|
||||
background-color: #fff;
|
||||
|
|
Loading…
Reference in a new issue