Does anyone know how to center a single product on the Dawn home page? Mine is on the left and I would like it centered so that desktop users will see it centered. Thanks!
Topic summary
A user seeks help centering a single product on their Shopify Dawn theme homepage, as it currently appears left-aligned on desktop.
Solution provided:
- Navigate to Shopify admin → Online Store → Themes
- Click Actions → Edit code on the active theme
- Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
- Add the following CSS code at the bottom:
ul#Slider--template-22688897917.featured_collection {
justify-content: center;
}
- Save the changes
The solution includes a visual result showing the centered product layout. The helper requests marking the post as a solution if it resolves the issue.
Check this one.
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:
ul#Slider-template--22268898279717__featured_collection {
justify-content: center;
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
