Ticket #40138: 40138.2011.diff
File 40138.2011.diff, 1.4 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentyeleven/functions.php
743 743 744 744 return $images; 745 745 } 746 747 /** 748 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 749 * 750 * @since Twenty Eleven 2.6 751 * 752 * @param array $args Arguments for tag cloud widget. 753 * @return array A new modified arguments. 754 */ 755 function twentytwelve_widget_tag_cloud_args( $args ) { 756 $args['largest'] = 22; 757 $args['smallest'] = 8; 758 $args['unit'] = 'pt'; 759 $args['format'] = 'list'; 760 return $args; 761 } 762 add_filter( 'widget_tag_cloud_args', 'twentytwelve_widget_tag_cloud_args' ); 763 No newline at end of file -
src/wp-content/themes/twentyeleven/style.css
2332 2332 font-weight: bold; 2333 2333 } 2334 2334 2335 /* Tag Cloud UL Style Fixes */ 2335 2336 2337 .tagcloud ul { 2338 list-style-type: none; 2339 } 2340 2341 .tagcloud ul li { 2342 display: inline-block; 2343 } 2344 2345 2336 2346 /* =Responsive Structure 2337 2347 ----------------------------------------------- */ 2338 2348