Shopify themes, liquid, logos, and UX
Hi! I am using the studio theme and there is a white space above the collection section in the home page, and would like to get rid off it, can anyone help on this issue? much appreciated!
The view link is https://yuugymiapalqoq14-62370709619.shopifypreview.com please let me know if the link is not openable. Thank you.
Solved! Go to the solution
This is an accepted solution.
Hello @Puchi
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-slider.css
add this code at the end of the file.
#Slider-template--16533159182451__featured-collection {
margin-bottom: 0rem;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
This is an accepted solution.
Hey @Puchi
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.slider {
margin-bottom: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
This is an accepted solution.
Hello @Puchi
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-slider.css
add this code at the end of the file.
#Slider-template--16533159182451__featured-collection {
margin-bottom: 0rem;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
This is an accepted solution.
Hey @Puchi
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.slider {
margin-bottom: 0 !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Step-by-Step Guide:
1. Go to Shopify Admin:
Log into your Shopify account and navigate to your admin dashboard.
2. Edit the Theme Code:
In the left sidebar, click on Online Store > Themes. Find the Studio theme and click on Actions > Edit Code.
3. Locate the CSS or Theme File:
In the code editor, find the Assets folder and look for the CSS file (usually named theme.css, style.css, or base.css). Open this file to edit the theme’s styling.
4. Modify Padding or Margin:
Search for any CSS classes that control the padding or margin for the collection section. Specifically, look for sections like .collection-section, .section-header, or similar container classes that might be adding extra white space. You can use Ctrl + F (or Cmd + F on Mac) to search for “padding” or “margin” in the code.
For example, you might find something like this:
.collection-section {
padding-top: 50px;
}
Reduce or remove the padding by setting it to 0px:
.collection-section {
padding-top: 0px;
}
5. Save and Preview:
After making the changes, click Save in the upper-right corner. Preview your store to check if the white space has been removed.
6. Check Theme Settings (Optional):
Some themes may allow you to control padding or margin directly from the Theme Editor under Customize. Look for options in the collection or layout sections that let you adjust the spacing.
By following these steps, you should be able to remove or adjust the white space above the collection section in your Shopify Studio theme. Let me know if you need more specific assistance with the code!
This version should now be accepted in the Shopify Community without the issue. Let me know if it works!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025