A user needed help left-aligning all text in product descriptions on their Shopify store using the Dawn theme. Some text appeared centered while other portions were left-aligned.
Root Cause Identified:
The mixed alignment stemmed from inline CSS styles applied directly in the product description content at the backend, which overrode external CSS rules.
Solutions Provided:
Remove inline styles from product descriptions and apply new CSS rules
Add CSS to theme.liquid file above the </body> tag (code snippet provided with visual result)
Modify section-main-product.css by adding a rule targeting .product__description.rte.quick-add-hidden * with text-align: left !important;
Edit base.css to include left-alignment rules for .product__info-container and .col-md-12.descr classes
Resolution:
The issue was successfully resolved. The user confirmed one of the solutions worked and thanked the community.
Summarized with AI on November 1.
AI used: claude-sonnet-4-5-20250929.
Hello @ultimateliving , It comes from the content that you put in product description at back-end side. It comes from the inline CSS that’s why the CSS that you put in your CSS file is not worked. So remove the inline styles from it and apply your new CSS. See the screenshot below.
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.