hello,
I was looking for a custom code to remove the padding seen in my photo on mobile only.
Page link: https://obadiahcoffee.com/pages/equipment
hello,
I was looking for a custom code to remove the padding seen in my photo on mobile only.
Page link: https://obadiahcoffee.com/pages/equipment
Hey @andrew72
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hi there,
I hope you are well.
Here is the custom CSS code you can use to remove the padding on the mentioned page on mobile:
@media screen and (max-width: 768px){
.collection:has(slider-component) {
padding: 0 !important;
}
}
Please help me check on the code and let me know if it works.
You can add the code here in the Custom CSS field: https://prnt.sc/K_sGBmQQIRgm
Best,
Daisy
Hi [email removed]andrew72 ,
To remove the padding on the featured product section, you use this custom CSS code:
Go to Shopify → Theme → Customize → Open the Custom CSS on theme
Copy and paste this custom code on the section > Save
.section-template--16080751919258__df7ff6a5-a9e1-4c86-af74-f3271eab3c20-padding {
padding-top: 0px;
padding-bottom: 0px;
}
I hope it would help you. If you have any question, feel free to ask me.
Hi @andrew72 Please add the below Code:
Please follow the steps:
Result:
If you want to decrease it more then add this piece of code as well.
.banner__box.content-container.content-container--full-width-mobile.color-background-1.gradient {
padding-bottom: 10px !important;
}
Hopefully it will help you. If yes then Please don’t forget hit Like and Mark it as solution!
Best Regards
Sahil