Center text on image with text overlay | Broadcast theme

Solved
JonX
Explorer
71 6 31

Hello,

I succeeded to limit the text width but I cannot figure how to center it.

#shopify-section-aboutus-imagewithtext0 p.hero__description {
    max-width: 70%;
}

Screen Shot 2021-07-29 at 8.59.10 AM.png

 My url : https://www.ambigoose.com/pages/about-us

 

Thank you so much

Jon

 

0 Likes
HardikDavra
Shopify Partner
2464 386 1037

This is an accepted solution.

@JonX 

Please Go to Online Store -> Themes -> Edit code -> Assets -> theme.scss.liquid and paste this code at the end of this file.

 

#shopify-section-aboutus-imagewithtext0 p.hero__description {
    margin: 0 auto;
    max-width: 600px;
}

 

JonX
Explorer
71 6 31

@HardikDavra THANK YOU SO VERY MUCH

0 Likes
HardikDavra
Shopify Partner
2464 386 1037

@JonX 

Thank you for accepting my answer as a solution. Please check your PM inbox