WordPress.org

Make WordPress Core

Changeset 18359


Ignore:
Timestamp:
06/27/11 22:02:29 (4 years ago)
Author:
azaozz
Message:

Fix arrows in 2011, props iandstewart, fixes #17809

Location:
trunk/wp-content/themes/twentyeleven
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/rtl.css

    r18342 r18359  
    355355/* Singular navigation */ 
    356356#nav-single { 
    357     right: auto; 
    358     left: 0; 
     357    float: left; 
     358    text-align: left; 
    359359} 
    360360#nav-single .nav-next { 
  • trunk/wp-content/themes/twentyeleven/single.php

    r18335 r18359  
    1717                    <nav id="nav-single"> 
    1818                        <h3 class="assistive-text"><?php _e( 'Post navigation', 'twentyeleven' ); ?></h3> 
    19                         <span class="nav-previous"><?php previous_post_link( '%link', __( '&larr; Previous', 'twentyeleven' ) ); ?></span> 
    20                         <span class="nav-next"><?php next_post_link( '%link', __( 'Next &rarr;', 'twentyeleven' ) ); ?></span> 
     19                        <span class="nav-previous"><?php previous_post_link( '%link', __( '<span class="meta-nav">&larr;</span> Previous', 'twentyeleven' ) ); ?></span> 
     20                        <span class="nav-next"><?php next_post_link( '%link', __( 'Next <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) ); ?></span> 
    2121                    </nav><!-- #nav-single --> 
    2222 
  • trunk/wp-content/themes/twentyeleven/style.css

    r18342 r18359  
    16871687    width: 50%; 
    16881688} 
     1689#content nav .meta-nav { 
     1690    font-weight: normal; 
     1691} 
    16891692 
    16901693/* Singular navigation */ 
    16911694#nav-single { 
    1692     display: inline-block; 
    1693     overflow: visible !important; 
    1694     position: absolute; 
    1695     top: -4px; 
    1696     right: 0; 
     1695    float: right; 
     1696    position: relative; 
     1697    top: -0.3em; 
     1698    text-align: right; 
     1699    width: 100%; 
    16971700    z-index: 1; 
    16981701} 
Note: See TracChangeset for help on using the changeset viewer.