Specifying Header Logo Height (To Reduce Cumulative Layout Shift)
-
Is there a way to specify the Header Logo Height in WP Astra (not just the width)? The reason I ask is when I test it on Google Insights, I can clearly see that it renders a perfect square for where the logo will be, when in reality, the logo is much more wide than it is high.
This is the entire reason my CLS is not zero, and the shift is pretty prominant especially on the mobile site.
When I go into the back-end Astra Header options, the only thing I can see is being able to change the header width, not the height, and clearly, without the height information, the browsers assume the height of the image will be equal to the width, until the image loads.
The page I need help with: [log in to see the link]
- The topic ‘Specifying Header Logo Height (To Reduce Cumulative Layout Shift)’ is closed to new replies.