Main issue: aligning/spacing products in the Dawn theme’s Featured Collection to achieve a custom layout different from the default grid.
Access/setup: Helper requested store URL and password; initial access failed due to password protection, then was fixed and code could be tested.
Approach 1: Add custom CSS (or code in product.liquid/product-template.liquid) to adjust grid alignment. Initial attempt didn’t work until site access was restored; manual style insertion showed progress.
Images: Desired look relies on product images with identical resolution and transparent backgrounds (.png). User was advised to create consistent .png images (e.g., via Canva) and re-uploaded revised photos.
CSS changes: For desktop (min-width: 990px), target .grid–5-col-desktop .grid__item with max-width (e.g., 30%) and margin (e.g., 0px 25px). These values control item size and spacing; increasing margin spreads items apart.
Implementation: Add the CSS in one place only (e.g., theme.liquid within the via Online Store > Live Theme > Actions > Edit Code). CSS = styling rules that control layout/appearance.
Outcome/status: Visuals “look great” after image updates; further tuning via CSS provided. Final confirmation from the store owner is pending; discussion appears ongoing.
Resources: A YouTube tutorial link was shared for Dawn Featured Collection alignment. Images linked are central to understanding the target layout.
Hi Rgv1, welcome to Shopify! Could you post or send me the password for your site? I’d like to take a look at the code and see what specifically we could add to your product grid items to get them aligned for you.
Try adding the following code to the top of your product.liquid, product-template.liquid, or CSS style sheet. If you’re adding to your existing style sheet, you won’t need the tags
Something like that would most likely require you to upload .png versions with the same resolution and a transparent background on each photo. I would recommend using Canva to create some new product photos and uploading those first, then we can work on the spacing for you
Looks great! You can make the photos bigger and more spread out by adding this code here to your CSS file
@media screen and (min-width: 990px)
.grid--5-col-desktop .grid__item {
max-width: 30% !important;
margin: 0px 25px !important;
}
Adjusting that 30% will make them bigger or smaller, and adjusting the 25px in the margin code will either spread them out or make them closer together. The bigger the number, the farther apart they’ll go.
Sure thing. Navigate to Online Store > Live Theme > Actions > Edit Code. From here, you’ll want to open your theme.liquid file under the Layout section.
In the theme.liquid file, place this code below within your tags. You’ll want to put towards the end, just before the tag, and then click Save.
Let me know if you have any trouble and what you think of the result