Merge pull request #298 from kosvrouvas/master
Fix next/previous post links not floating correctly - Thx @kosvrouvas
This commit is contained in:
commit
229627ca8b
|
@ -98,10 +98,10 @@ if ( ! function_exists( 'understrap_post_nav' ) ) :
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
if ( get_previous_post_link() ) {
|
if ( get_previous_post_link() ) {
|
||||||
previous_post_link( '<span class="nav-previous float-xs-left">%link</span>', _x( '<i class="fa fa-angle-left"></i> %title', 'Previous post link', 'understrap' ) );
|
previous_post_link( '<span class="nav-previous float-sm-left">%link</span>', _x( '<i class="fa fa-angle-left"></i> %title', 'Previous post link', 'understrap' ) );
|
||||||
}
|
}
|
||||||
if ( get_next_post_link() ) {
|
if ( get_next_post_link() ) {
|
||||||
next_post_link( '<span class="nav-next float-xs-right">%link</span>', _x( '%title <i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
|
next_post_link( '<span class="nav-next float-sm-right">%link</span>', _x( '%title <i class="fa fa-angle-right"></i>', 'Next post link', 'understrap' ) );
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</div><!-- .nav-links -->
|
</div><!-- .nav-links -->
|
||||||
|
|
Reference in New Issue