A user working with Shopify’s Impulse theme encountered an alignment issue where products in the Featured Collection section appeared centered on mobile but left-aligned on desktop. They wanted to center the products without changing their size.
Initial Solution Attempt:
Another user suggested adding CSS to the Custom CSS field within the Featured Collection section settings
This approach did not resolve the issue
Working Solution:
The problem was solved by adding custom CSS to the theme’s base.css file:
I’m using the Impulse theme, and I have a question about the Featured Collection section.
In this section, I’ve created a collection that contains only one product. On mobile, the product is perfectly centered, but on desktop, it’s aligned to the left.
I’d like to center this product on desktop while keeping its current size (as shown in the attached screenshot). I don’t want the product to be resized, just centered properly in the available space.
Does anyone know how to fix this, perhaps with some CSS or another method?
@Jordan221
Sorry you are facing this issue,
It would be my pleasure to help you.
Please share your site URL,
I will check out the issue and provide you with a solution here.
@Jordan221 Please find the below steps to display the featured collection in center alignment in impulse theme. Let us know whether it is helpful for you.
From admin, Go to “Online Store” → “Themes”.
Click “Customize” button in the current theme.
Go to the respective “Featured collection” section and click it to add the CSS.
Thank you for your help! I followed the steps you provided and added the CSS to the Featured Collection section, but unfortunately, it didn’t work. The products are still not centered as expected.
I’m trying to achieve this on Shopify’s Dwell theme and I cannot make it happen. I’ve tried different code snippets shared in posts. Could anybody help? I wish to align all featured collection grids to center when there are less products than columns set.