Hey all! I’m having an impossible time finding the top and bottom padding settings (or override that works) for this padding in the image. It’s the pop-up modal in product information and its top and bottom padding are huge. I talked to Shopify and used the AI, both without results. Any help with this would be appreciated. It’s not coming from the quantity selector nor the add to cart padding. Thanks!
2 Likes
Hi @ryanb819z
Welcome to the Shopify Community! Please share your store URL and password (if it’s password-protected), so I can check and provide you with the exact solution.
Best regards,
Devcoder ![]()
I messaged you, thanks.
I just sent you a message. Thanks!
1 Like
Hey! Thanks for that. I didn’t find this one when I searched prior to posting, but your link led me to it and it worked: Remove padding from Pop-Up Block Size chart
Side note: Is it better to put this in the css file, or in custom css in the theme editor? Just curious.
For those looking for this, the code from the original is:
.product-popup-modal__button {
min-height: 0rem !important;
}
.product__info-container > * + * {
margin: 5px !important;
}
