How do I left align the text in the blog main page and separate blog page?
Topic summary
Issue: Text on the blog listing and individual blog pages was not left-aligned.
Proposed fix: A contributor advised editing the theme template to enforce left alignment.
- Navigate: Online Store → Theme → Edit code.
- Open: theme.liquid (Shopify’s main theme layout file).
- Action: Paste a custom snippet before the closing tag, then save. (Note: The exact code snippet was not visible in the post capture.)
Evidence/Result: Screenshots showed the blog content aligned left after applying the change.
Outcome: The original poster thanked the contributor for the fast response, indicating the solution worked. They were encouraged to mark the reply as the accepted solution.
Status: Effectively resolved, though the precise code used isn’t shown in the thread text; images demonstrate the intended result.
1 Like
- Here is the solution for you @Jiwya
- Please follow these steps:
- Go to Online Store → Theme → Edit code.
- Open your theme.liquid file
- In theme.liquid, paste the below code before and press ‘Save’ to save it
- Here is the result you will achieve:
- Please press ‘Like’ and mark it as ‘Solution’ if you find it helpful. Thank you.
1 Like
Thank you so much! Super fast response.
1 Like



