Hello,
Please I need step by step help with aligning my search symbol with the menu. Please see image below for how it looks at the moment
A Shopify store owner needed help aligning their search icon with the menu navigation. The misalignment was visible in a screenshot they shared.
Solution Provided:
A community expert offered CSS code to fix the alignment issue:
The CSS targets .header__icon.header__icon--search.header__icon--summary with height: auto !important;
Initial attempts failed, so the expert provided an alternative approach: inserting the CSS code into the theme.liquid file before the </body> tag.
Resolution:
The final solution successfully fixed the alignment issue. The original poster confirmed it worked and expressed gratitude for the assistance.
Hello,
Please I need step by step help with aligning my search symbol with the menu. Please see image below for how it looks at the moment
Hi @deezaorganics welcome to the Shopify Community,
Can you please paste below code into theme customizer or base.css file at the end.
Method .: Placing code in base.css file
Online Theme > Edit Code > find base.css file and paste at the end and hit save.
summary.header__icon.header__icon--search.header__icon--summary.{
height: auto;
}
Results:
Method 2 :
Theme Customizer Settings:
Thanks
Hello,
Thanks a lot for this however it did not work for me. Not sure why. I tried both options
i guess it should work 100%. because i have tried it already. Do you want me to do that for you ?
Thanks
Yes please i dont mind. I posted exactly what you sent but no change.
please put this code into your theme.liquid file before the tag
.header__search summary.header__icon.header__icon--search.header__icon--summary {
height: auto !important;
}
Thanks
Thank you very much! You were of great help. God bless you