- Timestamp:
- 10/20/2016 10:17:35 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyseventeen/functions.php
r38846 r38847 343 343 $width = $size[0]; 344 344 345 740 <= $width && $sizes = '(max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px'; 345 if ( 740 <= $width ) { 346 $sizes = '(max-width: 706px) 89vw, (max-width: 767px) 82vw, 740px'; 347 } 346 348 347 349 if ( is_active_sidebar( 'sidebar-1' ) || is_archive() || is_search() || is_home() || is_page() ) { 348 if ( ! ( is_page() && 'one-column' === get_theme_mod( 'page_options' ) ) ) {349 767 <= $width &&$sizes = '(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px';350 if ( ! ( is_page() && 'one-column' === get_theme_mod( 'page_options' ) ) && 767 <= $width ) { 351 $sizes = '(max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 543px, 580px'; 350 352 } 351 353 }
Note: See TracChangeset
for help on using the changeset viewer.