diff --git a/assets/component-image-with-text.css b/assets/component-image-with-text.css index fcf450334fd..e8a5a3c96b5 100644 --- a/assets/component-image-with-text.css +++ b/assets/component-image-with-text.css @@ -313,8 +313,8 @@ } /* Needed for gradient continuity with or without animation so that transparent PNG images come up as we would expect */ -.image-with-text:not(.image-with-text--overlap) .color-background-1, -.image-with-text.image-with-text--overlap .image-with-text__media.color-background-1 { +.image-with-text.image-with-text--overlap .backround-transparent, +.image-with-text:not(.image-with-text--overlap) .background-transparent { background: transparent; } diff --git a/sections/image-with-text.liquid b/sections/image-with-text.liquid index 359324b2046..fcb92495d97 100644 --- a/sections/image-with-text.liquid +++ b/sections/image-with-text.liquid @@ -15,87 +15,93 @@ {%- endstyle -%} {%- liquid - assign scheme1 = settings.color_schemes | first assign fetch_priority = 'auto' if section.index == 1 assign fetch_priority = 'high' endif + if section.settings.color_scheme == section.settings.section_color_scheme and section.settings.content_layout == 'no-overlap' + assign remove_color_classes = true + endif -%} -