All things Shopify and commerce
Hi, I was wondering how to remove some of the padding between the items on my collection pages. For reference I am using the prestige theme and I have already added the recommended code below to the 'theme.liquid' section to make the products display full width.
<style>
.product-card__info {
position: absolute !important;
align-self: self-end !important;
padding-left: 10px !important;
padding-bottom: 5px !important;
}
.v-stack.justify-items-center.gap-1 {
justify-items: left !important;
}
.color-scheme.color-scheme--scheme-1 .container {
margin: 0 !important;
max-width: 100% !important;
}
</style>
URL - https://927103-16.myshopify.com/
The kind of padding size I'm wanting -
Thank you! Emily 😁
Hey @emilyaugstudios
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product-list {
row-gap: 2px !important;
column-gap: 4px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed, that worked thank you. My only issue is that it appears to left align the content, leaving white space on the right hand side. Do you know how to fix this?
Thank you as always!🙂
Hey @emilyaugstudios
Try this updated code.
<style>
.product-list {
row-gap: 2px !important;
column-gap: 2px !important;
place-content: center !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi Moeed, there still seems to be some padding either side. When I remove the code you recommended to try, it displays full width properly, with no extra white space padding. Any thoughts?🤔
Without code -
With code -
Hi, thank you for all the help but unfortunately nothing is working without leaving weird padding on the page so I think I will just leave this for now. Maybe it's something about the prestige theme that doesn't allow for full width products and small row padding. Thank you again.
for space right side, you can try this code above </style> following previous solution:
<style>
.product-list {
row-gap: 2px !important;
column-gap: 4px !important;
margin: 0 -20px!important;
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Hi! Thank you for the help, at first I thought it worked but as you can see it pushes the first row of products off the screen a bit, this theme is harder to work with 😅 Anymore thoughts on this? Thank you!
Hi @emilyaugstudios,
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head> tag:
<style>
.collection__main .product-card__info {
padding-left: 0px !important;
padding-bottom: 0px !important;
}
</style>
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Hello @emilyaugstudios
Go to online store ----> themes ----> actions ----> edit code ---->theme.css
add this code at the end of the file.
.product-list {
row-gap: 2px !important;
column-gap: 2px !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024