Fix arrows in 2011, props iandstewart, fixes #17809
git-svn-id: https://develop.svn.wordpress.org/trunk@18359 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
f0fc6bd2f3
commit
455c017fc8
@ -354,8 +354,8 @@ section.recent-posts .other-recent-posts .comments-link > span {
|
|||||||
|
|
||||||
/* Singular navigation */
|
/* Singular navigation */
|
||||||
#nav-single {
|
#nav-single {
|
||||||
right: auto;
|
float: left;
|
||||||
left: 0;
|
text-align: left;
|
||||||
}
|
}
|
||||||
#nav-single .nav-next {
|
#nav-single .nav-next {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
@ -16,8 +16,8 @@ get_header(); ?>
|
|||||||
|
|
||||||
<nav id="nav-single">
|
<nav id="nav-single">
|
||||||
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
<h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3>
|
||||||
<span class="nav-previous"><?php previous_post_link( '%link', __( '← Previous', 'twentyeleven' ) ); ?></span>
|
<span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">←</span> Previous', 'twentyeleven' ) ); ?></span>
|
||||||
<span class="nav-next"><?php next_post_link( '%link', __( 'Next →', 'twentyeleven' ) ); ?></span>
|
<span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></span>
|
||||||
</nav><!-- #nav-single -->
|
</nav><!-- #nav-single -->
|
||||||
|
|
||||||
<?php get_template_part( 'content', 'single' ); ?>
|
<?php get_template_part( 'content', 'single' ); ?>
|
||||||
|
@ -1686,14 +1686,17 @@ section.recent-posts .other-recent-posts li:after {
|
|||||||
text-align: right;
|
text-align: right;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
#content nav .meta-nav {
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
/* Singular navigation */
|
/* Singular navigation */
|
||||||
#nav-single {
|
#nav-single {
|
||||||
display: inline-block;
|
float: right;
|
||||||
overflow: visible !important;
|
position: relative;
|
||||||
position: absolute;
|
top: -0.3em;
|
||||||
top: -4px;
|
text-align: right;
|
||||||
right: 0;
|
width: 100%;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
#nav-single .nav-previous,
|
#nav-single .nav-previous,
|
||||||
|
Loading…
Reference in New Issue
Block a user