Center rich text in Simple Theme

Solved
Highlighted
Tourist
5 0 1

Hello,

 

I've designed my website using the Simple Theme and I've added a section of rich text under the slideshow on my homepage. It's currently aligned to the left, but I want it to be centered. However, I don't see any button to change this. I reached out to Support, but they said it was something they were unable to change. Is there a piece of code I need to add to make this change?

 

My store url is: https://confidentcamera.com

 

Thanks! 

0 Likes
Highlighted

Success.

Shopify Partner
810 166 187

Hello,

 

Add this css at bottom in  theme.scss.liquid ( you can find this file under assets )

 

div#shopify-section-1584860393144 {
    text-align: center;
}
Want to modify or custom changes on store hire me.
My Email: guleriathakur43@gmail.com
Skype: navrocks1
If helpful then please Like and Accept Solution.
If you are happy and want to donate small Click here (Its my paypal)
0 Likes
Highlighted
Tourist
5 0 1

That worked. Thank you!

0 Likes