Skip to content

Commit

Permalink
melhorada navegacao entre posts
Browse files Browse the repository at this point in the history
  • Loading branch information
diegorojas committed Feb 15, 2020
1 parent 5d68a36 commit 85926bf
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion single.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
<div class="nav-previous nav-links">
<?php previous_post_link( '%link', __( '<i class="fa fa-caret-left" aria-hidden="true"></i> Previous', 'coletivo' ) ); ?>
</div>
</div>
<div class="col-sm-6">
<div class="nav-next nav-links">
<?php next_post_link( '%link', __( 'Next <i class="fa fa-caret-right" aria-hidden="true"></i>', 'coletivo' ) ); ?>
</div>
</div>
</div>
</div>
</div>
<?php if ( has_post_thumbnail() && $img = wp_get_attachment_image_src( get_post_thumbnail_id(), 'large', true ) ) : ?>
Expand Down
8 changes: 6 additions & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -996,14 +996,18 @@ body.archive .page-header h1.page-title, body.category .page-header h1.page-titl
margin-top: 15px;
height: 45px;
}

#content-inside {
padding-bottom: 20px;
}
.content-area .entry-content {
font-size: 17px;
}
.single-post header.entry-header {
padding-top: 40px;
}

.single-post .entry-content {
.single-post .entry-content, .single-post .entry-footer {
margin-left: 0.935rem;
}

Expand All @@ -1021,7 +1025,7 @@ body.archive .page-header h1.page-title, body.category .page-header h1.page-titl

.single-post .post-navigator-box {
position: absolute;
width: 30%;
width: 31%;
padding-top: 15%;
right: 0;
}

0 comments on commit 85926bf

Please sign in to comment.