Ticket #17882: 17882-2.patch
File 17882-2.patch, 2.6 KB (added by , 13 years ago) |
---|
-
wp-content/themes/twentyeleven/inc/theme-options.php
391 391 else 392 392 $classes = array( 'one-column' ); 393 393 394 $classes[] = $current_layout; 394 if ( 'content-sidebar' == $current_layout ) 395 $classes[] = 'right-sidebar'; 396 elseif ( 'sidebar-content' == $current_layout ) 397 $classes[] = 'left-sidebar'; 398 else 399 $classes[] = $current_layout; 395 400 396 401 $classes = apply_filters( 'twentyeleven_layout_classes', $classes, $current_layout ); 397 402 398 403 return array_merge( $existing_classes, $classes ); 399 404 } 400 add_filter( 'body_class', 'twentyeleven_layout_classes' ); 401 No newline at end of file 405 add_filter( 'body_class', 'twentyeleven_layout_classes' ); -
wp-content/themes/twentyeleven/rtl.css
27 27 padding-left: 0; 28 28 } 29 29 30 #site-title { 31 margin-right: 0; 32 } 30 33 34 #site-description { 35 margin: 0 0 3.65625em; 36 } 37 31 38 /* =Menu 32 39 -------------------------------------------------------------- */ 33 40 … … 59 66 #branding #s { 60 67 float: left; 61 68 padding: 4px 28px 4px 10px; 62 width: 8%;63 69 } 64 70 #branding #s:focus { 65 71 width: 26%; -
wp-content/themes/twentyeleven/style.css
101 101 margin: 0; 102 102 } 103 103 .singular #content, 104 . sidebar-content.singular #content {104 .left-sidebar.singular #content { 105 105 margin: 0 7.6%; 106 106 position: relative; 107 107 width: auto; … … 126 126 127 127 /* Showcase */ 128 128 .page-template-showcase-php #primary, 129 . sidebar-content.page-template-showcase-php #primary {129 .left-sidebar.page-template-showcase-php #primary { 130 130 margin: 0; 131 131 } 132 132 .page-template-showcase-php #content, 133 . sidebar-content.page-template-showcase-php #content {133 .left-sidebar.page-template-showcase-php #content { 134 134 margin: 0 7.6%; 135 135 width: auto; 136 136 } … … 174 174 } 175 175 176 176 /* Right Content */ 177 . sidebar-content#primary {177 .left-sidebar #primary { 178 178 float: right; 179 179 margin: 0 0 0 -26.4%; 180 180 width: 100%; 181 181 } 182 . sidebar-content#content {182 .left-sidebar #content { 183 183 margin: 0 7.6% 0 34%; 184 184 width: 58.4%; 185 185 } 186 . sidebar-content#secondary {186 .left-sidebar #secondary { 187 187 float: left; 188 188 margin-left: 7.6%; 189 189 margin-right: 0;