Make WordPress Core

Changeset 59226


Ignore:
Timestamp:
10/13/2024 09:20:54 PM (2 years ago)
Author:
joedolson
Message:

Bundled Theme: Twenty Eleven: Fix positioning to make links clickable in mobile.

Fix a combination of floated and absolutely positioned content that caused previous and next links to be stacked under other content, making them unclickable on mobile devices. Adjust the position of the post date so that focus order matches visible order. Prevent overlap of 'Edit' button on post title.

Props kel-dc, parthvataliya, dhruvang21, sabernhardt, wpeople, itpathsolutions, balub, dilip2615, tirth03.
Fixes #62008.

Location:
trunk/src/wp-content/themes/twentyeleven
Files:
2 edited

Legend:

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

    r58178 r59226  
    230230        padding-left: 0;
    231231}
    232 .singular .entry-header .entry-meta {
    233         left: auto;
    234         right: 0;
    235 }
    236232.singular .entry-meta .edit-link a {
    237233        left: auto;
    … …  
    357353
    358354/* Singular navigation */
    359 #nav-single {
    360         float: left;
    361         text-align: left;
    362 }
    363355#nav-single .nav-next {
    364356        padding-left: 0;
    … …  
    518510                right: 0;
    519511        }
     512        .singular #author-info {
     513                margin: 2.2em -8.8% 0;
     514        }
    520515        /* Make sure we have room for our comment avatars */
    521516        .commentlist > li.comment,
  • trunk/src/wp-content/themes/twentyeleven/style.css

    r58816 r59226  
    11301130.singular .hentry {
    11311131        border-bottom: none;
    1132         padding: 4.875em 0 0;
     1132        padding: 1.875em 0 0;
    11331133        position: relative;
    11341134}
    … …  
    11451145.singular .entry-header .entry-meta {
    11461146        padding-right: 0;
    1147 }
    1148 .singular .entry-header .entry-meta {
    1149         position: absolute;
    1150         top: 0;
    1151         left: 0;
    11521147}
    11531148blockquote.pull {
    … …  
    11881183        position: absolute;
    11891184        right: auto;
    1190         top: 80px;
     1185        top: 40px;
    11911186}
    11921187
    … …  
    17961791/* Singular navigation */
    17971792#nav-single {
    1798         float: right;
    17991793        position: relative;
    1800         top: -0.3em;
    1801         text-align: right;
    18021794        z-index: 1;
    18031795}
    … …  
    24882480                left: 0;
    24892481                position: absolute;
    2490                 top: 40px;
     2482                top: 20px;
    24912483        }
    24922484        .singular #author-info {
    … …  
    25772569                margin-left: 0;
    25782570                margin-right: 0;
    2579         }
    2580         /* Make sure the post-post navigation doesn't collide with anything */
    2581         #nav-single {
    2582                 display: block;
    2583                 position: static;
    2584         }
    2585         .singular .hentry {
    2586                 padding: 1.625em 0 0;
    25872571        }
    25882572        .singular.page .hentry {
Note: See TracChangeset for help on using the changeset viewer.