Site logo

Archived topic

Issue with WP 5.5 "hearder and title" block pattern

3 replies · Started by Eric on August 21, 2020

Viewing posts 1–4 of 4

Hi

It seems that using the "hearder and title" block pattern introduced with WP 5.5 is running bad.

Does this comes from GP? Is there a way to correct it in the next them update?

Thank you!
Eric

Hi there,

WP updated the Cover Blocks HTML and CSS to include 100% width + padding, but negated to add the box-sizing: border-box; It has been reported to their GitHub for them to fix.

In the meantime add this CSS:

.wp-block-cover {
    box-sizing: border-box;
}

The upcoming GP 3.0 will automatically apply this to content globally so if developers get lazy the Theme will correct it.

Many thanks David _/\_

You're welcome

This archived topic is closed to new replies.