Ticket #35969: 35969.diff
File 35969.diff, 1.7 KB (added by , 9 years ago) |
---|
-
src/wp-content/themes/twentyfourteen/functions.php
78 78 set_post_thumbnail_size( 672, 372, true ); 79 79 add_image_size( 'twentyfourteen-full-width', 1038, 576, true ); 80 80 81 // Add theme support for logos. 82 add_theme_support( 'site-logo', array( 'size' => 'medium' ) ); 83 81 84 // This theme uses wp_nav_menu() in two locations. 82 85 register_nav_menus( array( 83 86 'primary' => __( 'Top primary menu', 'twentyfourteen' ), -
src/wp-content/themes/twentyfourteen/sidebar.php
15 15 <h2 class="site-description"><?php echo esc_html( $description ); ?></h2> 16 16 <?php endif; ?> 17 17 18 <?php the_site_logo(); ?> 19 18 20 <?php if ( has_nav_menu( 'secondary' ) ) : ?> 19 21 <nav role="navigation" class="navigation site-navigation secondary-navigation"> 20 22 <?php wp_nav_menu( array( 'theme_location' => 'secondary' ) ); ?> -
src/wp-content/themes/twentyfourteen/style.css
931 931 width: 100%; 932 932 } 933 933 934 .site-logo { 935 max-width: 100%; 936 max-width: calc(100% + 60px); 937 margin: 0 -30px; 938 } 934 939 940 935 941 /** 936 942 * 5.0 Navigation 937 943 * -----------------------------------------------------------------------------