Shopify themes, liquid, logos, and UX
I'm trying to remove excess white space on our product pages and I'm running into two distinct issues.
First, all of the sections seem to be surrounded by this "section.homepage-sections-wrapper.homepage-section-wrapper-white" that's 50px. I tried changing it to 0px in the theme.product.css (since I didn't want to edit it on the other pages) but it made no change.
My other difficulty is a random chunk of white space that's unaccounted for that I'd like to delete. Here's a screenshot of me inspecting the element and you can see everything else is defined. It seems to be built into the Envy theme. This is only a problem on desktop for some reason, not mobile.
I've done very little customizations to code before so I'm very new to this. Any support would be greatly appreciated!
Can you please provide your store URL and password as well if applicable, so that I can provide you solution that can work for your store.
Best regards
Sahil
- Your
Hi Sahil- I'd be more comfortable if I didn't share those. I understand that might make it harder to make a solution specific ideas but if you have any general ideas let me know and I'll gladly try them!
Hi @graceapollock,
You can try the following steps:
- Step 1: Sale channel => Online Store => Themes => Edit code:
- Step 2: Search for theme.min.css and add the css directive to the end of this file:
.shopify-section .homepage-sections-wrapper, .shopify-section .homepage-sections-wrapper--white { padding: 0 !important; }
- Step 3: in theme.min.css, press ctrl+F, then enter into the search box "shopify-product-reviews" it will display as follows
@media only screen and (min-width: 992px) { #shopify-product-reviews { margin-top: 90px !important; } }
Then edit margin-top: 0
@media only screen and (min-width: 992px) { #shopify-product-reviews { margin-top: 0 } }
I hope this helps! If it works for you, please mark it as a solution. I am very happy about that. Have a great day!
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Hi! I'm attaching a screenshot of my theme.min.css. It looked like I should make changes to the theme.css instead, so I made your adjustments there but I haven't noticed any changes. Should I do it on the theme.min.css instead, or is there something else I'm missing?
Also I'm not sure if I was clear in my original post/or if your code already addresses this but I don't want to remove the "section.homepage-sections-wrapper.homepage-section-wrapper-white" on every page. For example, it looks really nice on the home page, but on product pages, and sometimes customized pages it looks unnecessary. I'm not sure how to distinguish which pages it goes on and doesn't. Thanks again!
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025