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

Text alignment fix on mobile.

Solved

Text alignment fix on mobile.

edwinsoltan
Excursionist
43 0 13

Hello,

on my catalog (PC version), the text is aligned to the left, but when I switch to mobile mode, the text doesn't reach the corner. Can someone help me fix this?

 

STORE https://timecraft.se/collections/all

SECTION Rich text

 

Here are some references.

IMG_5069.PNG

 

Accepted Solution (1)
Moeed
Shopify Partner
6301 1711 2058

This is an accepted solution.

Ah apologies for the confusion, just simply add this code with the same steps mentioned above.

<style>
.rich-text__wrapper.rich-text__wrapper--left.page-width {
    padding-left: 0 !important;
}
</style>

RESULT:

Moeed_0-1732811314590.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 5 (5)

Moeed
Shopify Partner
6301 1711 2058

Hey @edwinsoltan 

 

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>
section#shopify-section-template--23635290128732__rich_text_pCDcLk .rich-text__blocks.left {
    text-align: -webkit-center !important;
}
}
</style>

RESULT:

Moeed_0-1732810824898.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.


edwinsoltan
Excursionist
43 0 13

Hi, thank you for answering the question, but I’m looking to move the text all the way to the left corner, just like it is on the PC version.

Moeed
Shopify Partner
6301 1711 2058

This is an accepted solution.

Ah apologies for the confusion, just simply add this code with the same steps mentioned above.

<style>
.rich-text__wrapper.rich-text__wrapper--left.page-width {
    padding-left: 0 !important;
}
</style>

RESULT:

Moeed_0-1732811314590.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.


edwinsoltan
Excursionist
43 0 13

Thank you!!!!

Moeed
Shopify Partner
6301 1711 2058

Thank you for your reply. I'm glad to hear that the solution worked well for you. If you require any more help, please don't hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Create high-converting pages - PageFly Page Builder.