styled more posts navigation position in archive view
This commit is contained in:
parent
9571fbb5a9
commit
cf9deef323
|
@ -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
|
@ -35,7 +35,8 @@ get_header();
|
||||||
get_template_part( 'template-parts/section', 'eachpost' );
|
get_template_part( 'template-parts/section', 'eachpost' );
|
||||||
|
|
||||||
endwhile;
|
endwhile;
|
||||||
|
|
||||||
|
the_posts_navigation();
|
||||||
|
|
||||||
else :
|
else :
|
||||||
|
|
||||||
|
|
|
@ -31,14 +31,16 @@ 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 -->
|
||||||
|
|
||||||
|
|
|
@ -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%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue