diff --git a/wp-admin/admin-header.php b/wp-admin/admin-header.php index 3b52e3acc..fa350623c 100644 --- a/wp-admin/admin-header.php +++ b/wp-admin/admin-header.php @@ -90,6 +90,8 @@ $admin_body_class .= ' locale-' . sanitize_html_class( strtolower( str_replace( if ( wp_is_mobile() ) $admin_body_class .= ' mobile'; +$admin_body_class .= ' no-customize-support'; + ?> "> @@ -100,7 +102,7 @@ if ( wp_is_mobile() ) // This prevents a flash of unstyled content. if ( wp_script_is( 'customize-loader', 'queue' ) ) : ?> if ( window.postMessage ) - document.body.className += ' customize-support'; + document.body.className += document.body.className.replace('no-customize-support','customize-support'); diff --git a/wp-admin/css/wp-admin.dev.css b/wp-admin/css/wp-admin.dev.css index 6943e4052..7b42ebe73 100644 --- a/wp-admin/css/wp-admin.dev.css +++ b/wp-admin/css/wp-admin.dev.css @@ -4411,7 +4411,7 @@ h3.available-themes { width: 300px; } -.available-theme a.screenshot { +.available-theme .screenshot { width: 300px; height: 225px; display: block; @@ -4556,12 +4556,12 @@ h3.available-themes { /* Allow for three-up on 1024px wide screens, e.g. tablets */ @media only screen and (max-width: 1200px) { .available-theme, - .available-theme a.screenshot, + .available-theme .screenshot, #current-theme img { width: 240px; } - .available-theme a.screenshot { + .available-theme .screenshot { height: 180px; } @@ -5428,14 +5428,9 @@ body.full-overlay-active { 24.0 - Customize Loader ------------------------------------------------------------------------------*/ -.hide-if-no-customize, +.no-customize-support .hide-if-no-customize, .customize-support .hide-if-customize { - display: none !important; -} - -.hide-if-customize, -.customize-support .hide-if-no-customize { - display: block !important; + display: none; } #customize-container {