diff --git a/resources/css/blocks/front-header.css b/resources/css/blocks/front-header.css index 5f9b87f..c959a2d 100644 --- a/resources/css/blocks/front-header.css +++ b/resources/css/blocks/front-header.css @@ -8,6 +8,16 @@ @apply pb-64 !-mb-48; } + &.is-style-has-overlap:has(+ section > .prev-overlap-image), + &.is-style-has-overlap:has(+ div > .prev-overlap-image) { + @apply pb-80; + padding-bottom: 26rem !important; + margin-bottom: -24rem !important; + } + &.is-style-has-overlap + .prev-overlap-image { + margin-top: -20rem !important; + } + &:first-child { margin-top: 0 !important; } @@ -23,7 +33,7 @@ line-height: 1.2; } p { - @apply max-w-2xl mx-auto mb-6; + @apply max-w-2xl mx-auto mb-6 !text-white; } .wp-block-carhop-blocks-cta { text-transform: none; @@ -33,4 +43,8 @@ .front-header__innerblocks { /* @apply bg-red-100; */ + .wp-block-carhop-blocks-cta-group, + .wp-block-carhop-blocks-decorative-shapes { + @apply max-w-screen-lg mx-auto; + } }