The search icon in my header moved suddenly, and I’m not sure why! Can someone please help me get it back to where it should be?
website: wearlimelight.com
password: skeuba1
A Shopify store owner encountered an issue where the search icon in their Dawn theme header suddenly moved out of position.
Solutions Provided:
Multiple support teams offered CSS-based fixes:
Quick fix: Add code to base.css to hide the misplaced search element and display the correct one using display: inline-flex !important
Alternative solutions:
position: absolute and margin propertiesResolution:
The issue was successfully resolved using one of the provided CSS solutions. The store owner confirmed the fix worked and expressed appreciation for the assistance.
All solutions involved editing the theme’s base.css file through the Shopify admin panel (Online Store > Themes > Edit code).
The search icon in my header moved suddenly, and I’m not sure why! Can someone please help me get it back to where it should be?
website: wearlimelight.com
password: skeuba1
@limelight91 - did you edit code of the original search to have it outside icons?
add this css to the very end of your base.css file and check
.header__search {display: none;}
.header__icons .header__search{display: inline-flex !important;}
Hello @limelight91 ,
It’s the GemPages Support Team and we are glad to assist 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
Hi.. @limelight91
step 01:
step 02:
I have 2 solution for you:
1st soluction is :
.header__icons .header__search {
display: block !important;
}
details-modal#header-search {
display: none;
}
2nd Solution is :
details-modal#header-search {
position: absolute;
right: 0;
margin-left: 10px;
}
hope this idea helps you
Thank you! This worked. I really appreciate it.
I am so glad that my suggestion can help
.