WordPress.org

Make WordPress Core

Ticket #38395: 38395.2.patch

File 38395.2.patch, 2.0 KB (added by laurelfulford, 3 years ago)
  • src/wp-content/themes/twentyfifteen/inc/customizer.php

     
    1717function twentyfifteen_customize_register( $wp_customize ) {
    1818        $color_scheme = twentyfifteen_get_color_scheme();
    1919
     20        $wp_customize->remove_control('background_preset');
     21        $wp_customize->remove_control('background_size');
     22
    2023        $wp_customize->get_setting( 'blogname' )->transport        = 'postMessage';
    2124        $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage';
    2225
  • src/wp-content/themes/twentyseventeen/style.css

     
    39013901        }
    39023902}
    39033903
    3904 @media screen and ( min-width: 55em ) {
    3905 
    3906         .panel-image {
    3907                 background-attachment: fixed;
    3908         }
    3909 }
    3910 
    39113904@media screen and ( min-width: 67em ) {
    39123905
    39133906        /* Layout */
     
    39213914                margin-left: 0;
    39223915        }
    39233916
     3917        /* Front Page */
     3918        .panel-image {
     3919                background-attachment: fixed;
     3920        }
     3921
    39243922        /* Sticky posts */
    39253923
    39263924        .sticky .icon-thumb-tack {
     
    39583956        }
    39593957}
    39603958
     3959/* Override fixed backgrounds on iPad Pro */
     3960@media screen and ( min-device-width : 64em ) and ( max-device-width : 64em ) and ( min-device-height : 85.375em ) and ( max-device-height : 85.375em ) and ( min-width: 64em ) and ( max-width: 64em ) {
     3961        .panel-image {
     3962                background-attachment: scroll;
     3963        }
     3964}
     3965
     3966@media screen and ( min-device-width : 64em ) and ( max-device-width : 64em ) and ( min-device-height : 85.375em ) and ( max-device-height : 85.375em ) and ( min-width: 85.375em ) and ( max-width: 85.375em ) {
     3967        .panel-image {
     3968                background-attachment: scroll;
     3969        }
     3970}
     3971
    39613972@media screen and ( min-width: 79em ) {
    39623973
    39633974        .has-sidebar .entry-content blockquote.alignleft {