SonnyS
October 21, 2021, 11:05am
1
I’m trying to change the padding of an html block i have at the top of my website:
changing the padding for them all seems to work fine, but I don’t want them all to change. I’m trying to target this section separately which as the id shopify-section-1634553282ebb9d84f
I thought adding this piece of code would do the job but it doesn’t change the padding at all:
https://house-rave-haven.myshopify.com/
pass: Skolis
thank you
@SonnyS - you have used . for id… so please replace . with # and it will work
SonnyS
October 21, 2021, 1:17pm
3
Changed it but it still did nothing?
@SonnyS - please add this css to the very end of your theme.scss.css file and check, I see like screenshot
#shopify-section-1634553282ebb9d84f {
padding-top: 0;
padding-bottom: 0;
}
.site-header {
padding-bottom: 5px;
}
SonnyS
October 21, 2021, 3:18pm
5
Amazing! Worked thank you so much!
I need to do this for one section. Where do I find the section id?