Ticket #40138: 40138.2016.diff
File 40138.2016.diff, 1.2 KB (added by , 7 years ago) |
---|
-
src/wp-content/themes/twentysixteen/functions.php
407 407 /** 408 408 * Modifies tag cloud widget arguments to have all tags in the widget same font size. 409 409 * 410 * @since Twenty Sixteen 1. 1410 * @since Twenty Sixteen 1.3 411 411 * 412 412 * @param array $args Arguments for tag cloud widget. 413 413 * @return array A new modified arguments. … … 416 416 $args['largest'] = 1; 417 417 $args['smallest'] = 1; 418 418 $args['unit'] = 'em'; 419 $args['format'] = 'list'; 419 420 return $args; 420 421 } 421 422 add_filter( 'widget_tag_cloud_args', 'twentysixteen_widget_tag_cloud_args' ); -
src/wp-content/themes/twentysixteen/style.css
1514 1514 padding: 0.5625em 0.4375em 0.5em; 1515 1515 } 1516 1516 1517 .tagcloud ul { 1518 list-style-type: none; 1519 } 1520 1521 .tagcloud ul li { 1522 display: inline-block; 1523 } 1524 1517 1525 .tagcloud a:hover, 1518 1526 .tagcloud a:focus { 1519 1527 border-color: #007acc;