Hello I have been trying to center the text content on my blog post.
Hi Lawrence7!
This is PageFly - Advanced Page Builder. Please send me the preview URL or the live URL so I can inspect and give you the code according to your theme.
Best regards,
PageFly
Alright thank you
https://www.tradatheaterequip.com/blogs/blog-post/what-is-your-best-movies-of-all-time-playlist
But I need the changes to reflect on all of my blog posts and not just this one alone
Hey @Lawrence7
You are going to have to edit your theme’s stylesheet. I’ll walk you through it.
Go to your admin panel.
-
Click on the Online Store link on the left menu under Sales Channels.
-
Click on the Themes link on the left menu.
-
Click on the white Actions drop down button on your active theme then select Edit code.
-
You should now see a list of files and folders.
-
Click on the Assets folder. There should be a theme.scss.liquid file. Click on that.
-
Scroll down to the bottom of the text area that appears and copy and paste following code at the end:
.rte div{ text-align: center !important; } -
Click on the white Save button.
Best regards,
Pagefly
can you try this code
- Go to Online Store->Theme->Edit code
- Asset->/theme.scss.liquid->paste below code at the bottom of the file.
#shopify-section-article-template .rte {
max-width: 1024px;
margin: 0px auto;
}
