Site logo

Archived topic

Contained Layout Cover

2 replies · Started by Jared on March 19, 2021

Viewing posts 1–3 of 3

Using the "Contained" content container with no sidebar. I have a cover image with H1 and other text on it. The text overflows the container and goes off-screen on mobile. Is there a good way to prevent this?

Thanks!

Sorry updated website attached here.

Hi there,

Give this CSS a try:

.home .wp-block-columns.alignwide h1.has-text-align-center {
    padding-left: 2.7em;
    padding-right: 2em;
}
This archived topic is closed to new replies.