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!
Hello @Puchi
Go to online store ----> themes ----> actions ----> edit code ----> assets ---->component-slider.css
add this code at the end of the file.
Log into your Shopify account and navigate to your admin dashboard.
Edit the Theme Code:
In the left sidebar, click on Online Store > Themes. Find the Studio theme and click on Actions > Edit Code.
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.
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;
}
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.
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!