Have your say in Community Polls: What was/is your greatest motivation to start your own business?

Re: Left align content in rich text block for Shapes theme

Solved

Left align content in rich text block for Shapes theme

hijklmnop
Visitor
2 0 0

Hey folks, I'm really struggling here. I'm using the Shapes theme and a rich text section on my about page. I want the content in this section to be left-aligned. I've tried to add custom CSS specifically to this section and I can't get it to work. I don't necessarily want to change the theme's code because I only want left-aligned content in this one rich text block. Any suggestions?

 

Screenshot 2024-10-27 at 11.37.19 AM.png

Accepted Solution (1)
Moeed
Shopify Partner
6301 1711 2057

This is an accepted solution.

Hey @hijklmnop 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.card__surface.p-5.lg\:p-10.relative.z-shape-divider.mx-auto.text-center {
    text-align: -webkit-left !important;
}
</style>

RESULT:

Moeed_0-1730066010287.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.


View solution in original post

Replies 3 (3)

Moeed
Shopify Partner
6301 1711 2057

Hey @hijklmnop 

 

Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.


hijklmnop
Visitor
2 0 0

Hey there, Moeed! Appreciate your help. 

URL: *** 

Password: ***

Moeed
Shopify Partner
6301 1711 2057

This is an accepted solution.

Hey @hijklmnop 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.card__surface.p-5.lg\:p-10.relative.z-shape-divider.mx-auto.text-center {
    text-align: -webkit-left !important;
}
</style>

RESULT:

Moeed_0-1730066010287.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.