Happening now! Shopify Community AMA: Building a Marketing Budget with 2H Media | Ask your marketing budget questions now!

Duplicated Search Icons

Solved

Duplicated Search Icons

bagdonaviciusbm
Tourist
32 0 3

I'm experiencing an issue with my store's header where two search icons are appearing when viewed on a laptop or PC. This duplication doesn't occur on mobile devices, only on larger screens. I've checked my theme settings but can't seem to find the root cause. Has anyone else encountered this issue or have any suggestions on how to fix it? Any help would be greatly appreciated!

Accepted Solution (1)

Rahul_dhiman
Shopify Partner
784 150 164

This is an accepted solution.

Hello @bagdonaviciusbm Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file

details-modal.header__search.block {
display: none;
}
@media screen and (min-width: 768px){
.header--top-center>.header__search {
display: none !important;
}
}

and the result will be
3.png2.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

View solution in original post

Replies 4 (4)

AK_Design_Dev
Shopify Partner
187 16 16

Hello @bagdonaviciusbm 

You can search main class of search bar content then u can add display none css 

If you require further help to optimize your store, please don’t hesitate to reach out.


This contribution will always benefit you and you will get my full help easily and you can contact me easily.


Your Willpower Contribution Link:-

Contribution


Contact On My Mail :-mail@gmail.com

Moeed
Shopify Partner
7141 1931 2355

Hey @bagdonaviciusbm 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.header--top-center.drawer-menu>.header__search {
    display: none !important;
}
</style>

RESULT:

Moeed_0-1721473358343.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Rahul_dhiman
Shopify Partner
784 150 164

This is an accepted solution.

Hello @bagdonaviciusbm Go to online store ---------> themes --------------> actions ------> edit code------->base.css
at the end of the file

details-modal.header__search.block {
display: none;
}
@media screen and (min-width: 768px){
.header--top-center>.header__search {
display: none !important;
}
}

and the result will be
3.png2.png


If this was helpful, hit the like button and mark the job as completed.
Thanks

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages

Rahul_dhiman
Shopify Partner
784 150 164

Thanks for accepting my solution,
please hit like button also.

Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront

Contact here


BEST CUSTOMER ACCOUNTS APP WITH CUSTOM WISHLIST OPTION 
TRY OUR APP :

PWC: Customer Accounts & Pages