From ee28baafd80b4c79cb6e03d1a1994607f873251f Mon Sep 17 00:00:00 2001 From: FrankZamora Date: Sun, 30 Nov 2025 23:36:22 -0600 Subject: [PATCH] fix(cls): Add inline CSS to prevent navbar-collapse CLS on mobile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds minimal CSS in before wp_head() to hide navbar-collapse on mobile before Bootstrap loads. This prevents the 0.245 CLS caused by Bootstrap calculating dimensions on an element that should be hidden. The CSS in critical-bootstrap.css was arriving too late (via wp_head) to prevent the initial layout shift. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- header.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/header.php b/header.php index 325e4104..04346f9d 100644 --- a/header.php +++ b/header.php @@ -14,6 +14,14 @@ + +