Feedback for your online store from the community
My products are off-centered but when I make them full width they're absolutely massive. Hoping someone can help with a fix for this. Thank you!
@a1dan
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.
Hi @a1dan
To fix the issue where your products appear off-centered and become too large when set to full width, you can adjust the CSS in your Shopify theme. Here's how you can center the products properly without making them overly massive:
1-Access Your Theme Code:
2-Locate the Relevant CSS File:
3-Add or Modify CSS:
Add the following code at the end of the CSS file:
.product-grid {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.product-grid-item {
max-width: 300px; /* Adjust to your preferred size */
margin: 10px; /* Adds spacing between products */
text-align: center;
}
@media (min-width: 768px) {
.product-grid-item {
flex: 1 1 calc(25% - 20px); /* For larger screens, 4 items per row */
}
}
@media (max-width: 768px) {
.product-grid-item {
flex: 1 1 100%; /* Full width on smaller screens */
}
}
4-Test the Changes:
5-Fine-tune if Necessary:
The code above centers your product grid and ensures the products are a manageable size. Here's an example visualized: https://prnt.sc/XtDdXu3BXZ2_
Let me know if this works for you! If you need any other assistance, feel free to reply, and I will try my best to help.
Best regards,
Daisy
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025