Can anyone tell me how to delete this white line on under the header? I’ve tried many things i found here on site but nothing worked
Link to store: samstore.dk
A user is trying to remove an unwanted white line appearing below their website header at samstore.dk. An image shows the problematic divider line spanning the full width of the header.
Proposed Solutions:
Multiple community members offered CSS-based fixes targeting different selectors:
theme-header#header { border: none; }.site-header__divider { display: none; }.header { border-bottom: none !important; }Implementation Steps:
base.css or app.css in the Assets folder)Current Status:
The discussion remains unresolved. One responder noted that app.css doesn’t exist in their theme, suggesting the correct file name may vary by Shopify theme. The original poster hasn’t confirmed whether any solution worked.
Can anyone tell me how to delete this white line on under the header? I’ve tried many things i found here on site but nothing worked
Link to store: samstore.dk
Hi @Dawidooo ,
Try this.
theme-header#header {
border: none;
}
Result:
I hope it help.
Hey @Dawidooo , I saw you received a response, and was wondering if you got everything figured out. Thanks!
Hello @Dawidooo ,
You can try to follow these steps:
Go to Online Store → Themes → Actions → Edit code
Go to Assets folder → base.css file → add the following code at the bottom of page
/* Delete the divider line under the header section */
.site-header__divider {
display: none;
}
Save and preview
Hope this can help.
Ali Reviews team.
Hi @Dawidooo
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
Please add this css in your bottom of the app.css file:
.header {border-bottom: none !important;}
Regards,
San
Hello There,
.header {
border-bottom: none;
}
app.css doesn’t exist…
app.css doesnt exist…