Text alignment fix on mobile.

Solved

Text alignment fix on mobile.

edwinsoltan
Explorer
59 0 16

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
7379 1996 2438

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!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7379 1996 2438

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!

- Custom Design | Advanced Coding | Store Modifications


edwinsoltan
Explorer
59 0 16

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
7379 1996 2438

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!

- Custom Design | Advanced Coding | Store Modifications


edwinsoltan
Explorer
59 0 16

Thank you!!!!

Moeed
Shopify Partner
7379 1996 2438

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!

- Custom Design | Advanced Coding | Store Modifications