Shopify themes, liquid, logos, and UX
How can I reduce these columns between each product photo?
I would like them to be 1px each and not to alter the margins on the sides of the page. i mean that the images on the edges are at the edge of the screen.
Solved! Go to the solution
This is an accepted solution.
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
<style>
ul.product-grid {
column-gap: 1px !important;
}
</style>
Result:
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
This is an accepted solution.
Hi @nerveconcepts ,
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code too just above tag </body>
<style>
@media screen and (min-width: 990px){
.grid--4-col-desktop .grid__item {
max-width: calc(25% - 0.75px);
}
}
</style>
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
This is an accepted solution.
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code just above tag </body>
<style>
ul.product-grid {
column-gap: 1px !important;
}
</style>
Result:
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
Thanks!!, but remains as a kind of margin to the right
This is an accepted solution.
Hi @nerveconcepts ,
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code too just above tag </body>
<style>
@media screen and (min-width: 990px){
.grid--4-col-desktop .grid__item {
max-width: calc(25% - 0.75px);
}
}
</style>
If you require further help to optimize or customize your store, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated. And if this solves the problem, please Mark it as Solution!
Best Regards,
LuffyOnePiece
it workss!!, thank you
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025