From 4d1898f331ed93b375e7c4924f7f52cb1a79a000 Mon Sep 17 00:00:00 2001 From: George Cushen Date: Wed, 20 Aug 2025 20:02:28 +0100 Subject: [PATCH] fix: section image backgrounds in Tailwind 4 upgrade --- modules/blox-tailwind/assets/css/framework/components.css | 5 +++++ starters/landing-page/content/_index.md | 3 +++ 2 files changed, 8 insertions(+) diff --git a/modules/blox-tailwind/assets/css/framework/components.css b/modules/blox-tailwind/assets/css/framework/components.css index 0fe375dd..5ee95567 100644 --- a/modules/blox-tailwind/assets/css/framework/components.css +++ b/modules/blox-tailwind/assets/css/framework/components.css @@ -99,6 +99,11 @@ position: relative; } + /* When parallax is used with home-section-bg, preserve absolute positioning */ + .home-section-bg.parallax { + position: absolute; + } + /* Section color schemes - for backward compatibility */ section.light { background-color: transparent; diff --git a/starters/landing-page/content/_index.md b/starters/landing-page/content/_index.md index 61c64cd8..6b2328d0 100644 --- a/starters/landing-page/content/_index.md +++ b/starters/landing-page/content/_index.md @@ -37,6 +37,9 @@ sections: filename: bg-triangles.svg filters: brightness: 0.5 + size: cover + position: center + parallax: false - block: stats content: items: