Ticket #40138: 40138.2014.diff
File 40138.2014.diff, 1.5 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/functions.php
527 527 } 528 528 add_filter( 'wp_title', 'twentyfourteen_wp_title', 10, 2 ); 529 529 530 531 /** 532 * Modifies tag cloud widget arguments to have all tags in the widget same font size and use list format for better accessibility. 533 * 534 * @since Twenty Fourteen 2.0 535 * 536 * @param array $args Arguments for tag cloud widget. 537 * @return array A new modified arguments. 538 */ 539 function twentyfourteen_widget_tag_cloud_args( $args ) { 540 $args['largest'] = 22; 541 $args['smallest'] = 8; 542 $args['unit'] = 'pt'; 543 $args['format'] = 'list'; 544 return $args; 545 } 546 add_filter( 'widget_tag_cloud_args', 'twentyfourteen_widget_tag_cloud_args' ); 547 548 530 549 // Implement Custom Header features. 531 550 require get_template_directory() . '/inc/custom-header.php'; 532 551 -
src/wp-content/themes/twentyfourteen/style.css
3120 3120 width: auto; 3121 3121 } 3122 3122 3123 .tagcloud ul { 3124 list-style-type: none; 3125 } 3123 3126 3127 .tagcloud ul li { 3128 display: inline-block; 3129 margin: 4px 4px 0 0; 3130 } 3131 3132 3124 3133 /** 3125 3134 * 11.0 Media Queries 3126 3135 * -----------------------------------------------------------------------------