I am using the spotlight theme and there is this white bar between the header and template which I would like to get rid of. Here is a preview of what I mean:
Thanks for the help!
A user encountered an unwanted white space between the header and template sections while using Shopify’s Spotlight theme. After sharing their store URL and removing password protection, a solution was provided involving custom CSS code.
Solution implemented:
Outcome:
The CSS fix successfully eliminated the white bar. Multiple users confirmed this solution worked for their similar issues, specifically noting success with base.css.
I am using the spotlight theme and there is this white bar between the header and template which I would like to get rid of. Here is a preview of what I mean:
Thanks for the help!
Hi @unkown123
Would you mind to share your store URL? Thanks!
hialos.se
Its password protected.
Sorry, I removed the password now
Thanks for the info, check this one.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
ul#Slider-template--22468661346648__featured_collection {
margin-top: 0px;
}
slider-component.slider-mobile-gutter.page-width.page-width-desktop.scroll-trigger.animate--slide-in {
padding-top: 20px;
}
And Save.
result:
That worked, thanks!
Welcome. Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Only working solution for my problem! This IS the go to solution → I used base.css