Minimal Theme Center Align and Left Align Rich Text On The Same Page.

Solved
Highlighted
Tourist
11 0 2

Hello.

Thanks for looking.

I have 3 rich text sections on my homepage. I would like the first rich text section to be center aligned and the others under it to be left aligned.

At the moment, I can only move all of them together.

Anyone have some code?

Thanks Will

Center left left.png

0 Likes
Highlighted
Shopify Partner
592 92 133

Hello @ElsieWolfe,

Welcome to the Shopify community!
and Thanks for your Good question.

Please share your site URL,
So I will check and provide a solution here.

 

0 Likes
Highlighted
Shopify Partner
2231 483 626

This is an accepted solution.

Hey @ElsieWolfe,

Please add the following code at the bottom of your assets/theme.scss.liquid file.

div#shopify-section-1600126432526, div#shopify-section-1600126432526 h2 {
    display: block;
    text-align: center;
}

 

Hope this helps.

Thanks! 

If helpful then please Like and Accept Solution.
Do you need custom changes on store ? Hire me.
Feel free to Contact me on dmw.webartisan@gmail.com
Follow us on Instagram @dmw.webartisan
0 Likes
Highlighted
Tourist
11 0 2

Your an absolute legend worked a treat.

Thank you

1 Like