Make WordPress Core

Ticket #39073: 39073.3.patch

File 39073.3.patch, 722 bytes (added by stormrockwell, 8 years ago)

This fixes inheritance issues with transform on header images that aren't the home/front page

  • src/wp-content/themes/twentyseventeen/style.css

     
    17441744        transform: translateX(-50%) translateY(0);
    17451745}
    17461746
     1747@supports ( object-fit: cover ) {
     1748        .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
     1749                -ms-transform: none;
     1750                -moz-transform: none;
     1751                -webkit-transform: none;
     1752                transform: none;
     1753        }
     1754}
     1755
    17471756/* Hides div in Customizer preview when header images or videos change. */
    17481757
    17491758body:not(.has-header-image):not(.has-header-video) .custom-header-media {