Personalized checkout and custom promotions with Shopify Scripts
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello, I'm trying to reduce the space between the product section bottom padding, it is too large. My store url is https://03nkpv-tm.myshopify.com/ Thank you in advance for your help.
Solved! Go to the solution
This is an accepted solution.
Hey @CameronO
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>
.page-content--product {
padding-bottom: 0 !important;
}
div#shopify-section-template--24040010645837__text_columns_Dt6kFP {
margin-top: 10px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hey @CameronO
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>
.page-content--product {
padding-bottom: 0 !important;
}
div#shopify-section-template--24040010645837__text_columns_Dt6kFP {
margin-top: 10px !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Thank you so much, is there a way to add this to the custom css section?
One part of the code that I provided won't work in the custom css section so just simply follow the steps which I mentioned and then it should be good to go.
Best Regards,
Moeed
Hi @CameronO
@media screen and (max-width: 768px){
div.shopify-section:has(.product-section) + div {
margin-top: 0 !important;
}
div.shopify-section:has(.product-section) .page-content.page-content--product {
padding-bottom: 0 !important;
}
}