Dawn latest version, in that mobile view header has some white space how to remove that.
website : https://rugd-in.myshopify.com/
password: rugged
A user encountered unwanted white space in the mobile header of their Shopify store using the Dawn theme’s latest version.
Solutions Provided:
Two respondents offered similar CSS fixes to resolve the issue:
CSS Code:
Both solutions use the same CSS snippet targeting sections with banner content:
@media screen and (max-width: 749px) {
section:has(.banner__content) {
margin-top: -12px !important;
}
}
This applies a negative top margin specifically on mobile devices (screens under 749px width) to eliminate the white space gap. One respondent included a screenshot showing the successful result after implementation.
Status: Solutions provided; awaiting user confirmation of resolution.
Dawn latest version, in that mobile view header has some white space how to remove that.
website : https://rugd-in.myshopify.com/
password: rugged
Hello! @Sivadarshan Please follow these steps to add this CSS code:
@media screen and (max-width: 749px) {
section:has(.banner__content) {
margin-top: -12px!important;
}
}
If you need further assistance, please let me know. If you found my help useful, consider liking this message and marking it as the Accepted Solution.
Best regards
K.K
Hi @Sivadarshan
To complete your requests, please follow these steps:
@media screen and (max-width: 768px){
section:has(.banner__content) {
margin-top: -12px !important;
}
}
Here is the result: https://prnt.sc/Vlv1Dz-gcKvO
I hope this helps
Best,
Daisy