Shopify themes, liquid, logos, and UX
Hi
I am having trouble shifting the text within the rich text box to the extreme left.
Will like to align it with the para above.
It looks fine on the desktop however on the mobile, there is some spacing as per the screenshot.
Is there any CSS code that I can input to remove the spacing and move it closer to the left.
Solved! Go to the solution
This is an accepted solution.
Hi @FFPNF
This is BSS Commerce - Full-service eCommerce Agency. We'd love to suggest you this solution:
Step 1:
Step 2:
Find the file base.css or base.scss.liquid and copy this code at the end of the file
@media only screen and (max-width: 749px){
.rich-text__wrapper.rich-text__wrapper--left.page-width {
padding-left:0;
}
}
Hope this help you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi @FFPNF,
Please sure your website so we can provide a code specific for you
hi thanks for responding
it’s in the product page.
password : Laispotty
Hi @FFPNF
You can try this code by following these steps:
Go to Online store => themes => actions => edit code and add this code on file theme.liquid before tag </body>
<style>
.rich-text__wrapper.rich-text__wrapper--left.page-width {
margin-left: 0;
}
.rte ul, .rte ol{
padding-left: 0;
}
</style>
Hope this answer helps.
Best regards,
Victor | PageFly
This is an accepted solution.
Hi @FFPNF
This is BSS Commerce - Full-service eCommerce Agency. We'd love to suggest you this solution:
Step 1:
Step 2:
Find the file base.css or base.scss.liquid and copy this code at the end of the file
@media only screen and (max-width: 749px){
.rich-text__wrapper.rich-text__wrapper--left.page-width {
padding-left:0;
}
}
Hope this help you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This works! Thank you so much 😄
Hi @FFPNF
We're happy to see that our suggestion helped you solve the issue. Can you kindly give us a like and mark it as a solution? This can be a reference for other merchants if they have an issue like you.
Thanks in advance.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
B2B Solution & Custom Pricing | Product Labels by BSS
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
I am having this same issue in Dawn - cannot left align text in Rich Text block.
I tried adding this code to the end of the base.css file but it does not appear to be working..
@media only screen and (max-width: 749px){
.rich-text__wrapper.rich-text__wrapper--left.page-width {
padding-left:0;
}
}
Help!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025