@LitCommerce I want to add some space between my logo and the search icon in mobile view. I’m using Dawn 7.0.1 theme.
Website : https://www.eshoop101.com
Thank you
A user seeks to add spacing between their logo and search icon in mobile view on their Dawn 7.0.1 theme.
Solutions Provided:
Multiple respondents offered CSS-based fixes:
.modal__toggle-open (27px suggested)</head> in theme.liquid fileThe original poster confirmed one solution worked.
Follow-up Issue:
A secondary problem emerged: a shadow appears on the homepage when toggling the mobile menu.
Resolution:
The user resolved the shadow issue independently by deleting or commenting out a specific CSS rule in base.css related to .header__icon--menu[aria-expanded="true"]::before, specifically the height calculation using viewport height and header position variables.
Note: The conversation text appears reversed/mirrored in the original input but has been interpreted correctly.
@LitCommerce I want to add some space between my logo and the search icon in mobile view. I’m using Dawn 7.0.1 theme.
Website : https://www.eshoop101.com
Thank you
@eShoop101 Go to assetes/base.css and paste below css at bottom of file.
.modal__toggle-open
{
margin-left: 27px !important;
}
I would like to give you a solution to support you:
summary.header__icon.header__icon–search.header__icon–summary.link.focus-inset.modal__toggle {
padding-left: 20px;
}
Hello @eShoop101 ,
It’s GemPages support team and glad to support you today.
I would like to give you the recommendation to support you so kindly follow the steps below:
Open your theme.liquid theme file
Paste the below code before
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Thank that works for me
Thanks that help. I have another issue I can see that when I press the toggle menu in mobile there is shadow which stay in the home page how to get rid of that.
@eShoop101
Put below css into base.css file(Online store->themes->Edit code->Assets->base.css)
@media (max-width:481px)
{
.header {
gap: 10px !important;
}
}
I have found the solution delete or comment
/*height: calc(var(–viewport-height, 100vh) - (var(–header-bottom-position, 100%))); */
.header__icon–menu[aria-expanded=“true”]::before {
content: “”;
top: 100%;
left: 0;
/*height: calc(var(–viewport-height, 100vh) - (var(–header-bottom-position, 100%))); */
width: 100%;
display: block;
position: absolute;
background: rgba(var(–color-foreground), 0.5);
}