styled more posts navigation position in archive view

This commit is contained in:
jorge 2023-01-28 14:37:13 +01:00
parent 9571fbb5a9
commit cf9deef323
7 changed files with 12 additions and 8 deletions

View File

@ -1357,6 +1357,7 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .posts-navigation, .site-main .edit-post-visual-editor__content-area .posts-navigation, .site-main
.edit-post-visual-editor__content-area .post-navigation { .edit-post-visual-editor__content-area .post-navigation {
margin: 0 0 1.5em; margin: 0 0 1.5em;
align-self: end;
} }
.edit-post-visual-editor__content-area .comment-navigation .nav-links, .edit-post-visual-editor__content-area .comment-navigation .nav-links,
@ -1374,7 +1375,6 @@ Add your custom styles in this file so it is easier to update the theme.
.edit-post-visual-editor__content-area .comment-navigation .nav-next, .edit-post-visual-editor__content-area .comment-navigation .nav-next,
.edit-post-visual-editor__content-area .posts-navigation .nav-next, .edit-post-visual-editor__content-area .posts-navigation .nav-next,
.edit-post-visual-editor__content-area .post-navigation .nav-next { .edit-post-visual-editor__content-area .post-navigation .nav-next {
text-align: end;
flex: 1 0 50%; flex: 1 0 50%;
} }

File diff suppressed because one or more lines are too long

View File

@ -36,6 +36,7 @@ get_header();
endwhile; endwhile;
the_posts_navigation();
else : else :

View File

@ -31,13 +31,15 @@ get_header();
endwhile; endwhile;
echo '</content>';//end content ajuts
the_posts_navigation(); the_posts_navigation();
echo '</content>';//end content ajuts
else : else :
get_template_part( 'template-parts/content', 'none' ); get_template_part( 'template-parts/content', 'none' );
endif; endif;
?> ?>
</main><!-- #main --> </main><!-- #main -->

View File

@ -315,6 +315,7 @@
.site-main & { .site-main & {
margin: 0 0 1.5em; margin: 0 0 1.5em;
align-self: end;
} }
.nav-links { .nav-links {
@ -326,7 +327,7 @@
} }
.nav-next { .nav-next {
text-align: end; //text-align: end;
flex: 1 0 50%; flex: 1 0 50%;
} }
} }

View File

@ -1292,6 +1292,7 @@ textarea {
.posts-navigation, .site-main .posts-navigation, .site-main
.post-navigation { .post-navigation {
margin: 0 0 1.5em; margin: 0 0 1.5em;
align-self: end;
} }
.comment-navigation .nav-links, .comment-navigation .nav-links,
@ -1309,7 +1310,6 @@ textarea {
.comment-navigation .nav-next, .comment-navigation .nav-next,
.posts-navigation .nav-next, .posts-navigation .nav-next,
.post-navigation .nav-next { .post-navigation .nav-next {
text-align: end;
flex: 1 0 50%; flex: 1 0 50%;
} }

File diff suppressed because one or more lines are too long