Hi, please can someone help me? i need to smaller the padding between the image banner and the collection list on my homepage. The padding should be same as between the collections in the collection list.
taneau.com (ride theme)
Hi, please can someone help me? i need to smaller the padding between the image banner and the collection list on my homepage. The padding should be same as between the collections in the collection list.
taneau.com (ride theme)
Hi @atm19 ,
Try adding below css to end of your base.css file.
@media only screen and (max-width: 767px) {
section#shopify-section-template--21376786661720__collection_list_G8qAxg {
margin-top: 15px;
}
}
Let me know if you need any other help.
Thank you
Hello There,
@media screen and (min-width: 750px){
.section + .section {
margin-top: 40px;
}
}
Thanks it worked. But not on the mobile version. What should I do? ![]()
Hello @atm19 ,
Please add the below mentioned code at the bottom of theme.liquid file before body tag for the mobile version.
@media screen and (max-width: 749px){ section#shopify-section-template--21376786661720__collection_list_G8qAxg { margin-top: 15px !important; } }Output →
I hope this helps.
Please let me know if you have any query.
Thank you.
What body tag? cannot find it there is more “body”. Thank you
Hi @atm19
Go to the online store → edit code → theme.liquid file and search for and add the css above the