Hi
i have been searching everywhere to remove this blank spaces on our website for Custom CSS on section or Theme Edit code but i could find anything that will work.
Can anyone please help me with this please, photos below
*using Enterprise Theme
Home page
*blank spaces on top & bottom of every section
Default product page
*blank spaces all around product images
1 Like
Hey @Stefano91 could you please share your Store URL and password as well so that I take a look and provide you solution code.
Thanks
Hi @Stefano91
Please share the link to your store so I can check and give you the solution.
Hi @Stefano91
This is Ellie fromBOGOS
- To remove the blank space on top & bottom
Go to online store > Edit code > find your CSS file (usually theme.css) > fix the section-gap into 20
- To remove blank spaces around product images
Go to any CSS file and add this code:
.product-media--stacked .media-viewer__item{ padding: unset !important; }
Give me a Like or Accept it as Solution to let me know if it’s helpful!
If you want to create sales promotions like free gifts, discounts, bundles & upsells, try BOGOS.
- To remove blank spaces around product images
this one worked!
As for 1. To remove black spaces from top & bottom of section
this one did not work.
i only see “theme.liquid” in my edit code is that an issue?
Hi @Stefano91 
This is Ellie from BOGOS, #1 Promotion Shopify App featuring Gift, Bundle, Upsell.
As for 1., the “section-gap” isn’t in the “theme.liquid” file, but it’s likely in one of the CSS files. Please try looking for any CSS file that includes “section-gap”.
Unfortunately, I don’t have access to directly locate it for you:( So sorry for that. If it worked, please let me know!
Hey @Stefano91
I just wanted to check in and see if you were able to locate the “section-gap” in one of your CSS files?
- If my solution worked, I’d really appreciate it if you could mark the solution — it’ll motivate me to continue assisting you & others for free more.
- If you’re still stuck, I’m happy to help further! Just let me know what you’re confused 
Hi @Stefano91
I just wanted to check in and see if you’ve been able to solve your problem yet? I truly hope my recommendations help. Let me know if this works for you or if you have any other questions!