How can I change the position of the blog’s title that is above the image to the center? I use the Dawn theme.
Topic summary
A user seeks help centering the blog post title that appears above the featured image in the Dawn theme.
Proposed Solution:
- Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
- Locate the CSS file in the Assets folder (typically
base.css,style.css, ortheme.cssdepending on the theme) - Add the following CSS code at the bottom of the file:
h1.article-template__title {
text-align: center !important;
}
- Save the changes
Status: The solution provider requests the store URL if the CSS fix doesn’t work, suggesting the discussion may need further troubleshooting. No confirmation yet on whether the solution resolved the issue.
@aspiranthalloun - can you please share this page link?
Check this one if it work, if not the would you mind to share your store URL? Thanks!
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
h1.article-template__title {
text-align: center !important;
}
And Save.
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!