Center text on image with text overlay | Broadcast theme

Solved
JonX
Explorer
69 6 30

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
2417 375 1024

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;
}

 

For fast Communication: Email: parambabla.soft@gmail.com | Whatsapp
JonX
Explorer
69 6 30

@HardikDavra THANK YOU SO VERY MUCH

0 Likes
HardikDavra
Shopify Partner
2417 375 1024

@JonX 

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

For fast Communication: Email: parambabla.soft@gmail.com | Whatsapp