All things Shopify and commerce
Hi everyone,
I change the alignment of my store logo to center, but the problem is it shows 2 search bar in my header. How can I remove the other one on the right? See photo for reference:
Store preview URL:https://njm7880s3hx9loio-13830324282.shopifypreview.com
Hi @IntechCarl , you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code.
Step 2: Find component-card.css file
Step 3: Paste this code at the bottom of the file
header.header > .EzfyHeaderSearch:first-of-type {
display: none !important;
}
If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @B2Bridge , Thank you for your response. I wanted to remove the bar on the right-side, and make te bar on the left side a search icon or magnifying glass.
Hi @IntechCarl
Please check your 'snippets/header-search.liquid' file and search for 'predictive-search' to see if there are multiple files
Is there a “header__icons header__icons--localization header-localization” wrapper, if there is remove it.
Yes, Thank you! I saw it inside header.liquid the code is like this "{% render 'ezfy-header-search', input_id: 'Search-In-Modal', device: 'desktop' %}" I removed it inside the header and it disappeard on my desktop.
I'm glad to have helped you, if this is helpful, please Like and Accept the solution.
Hi @IntechCarl
You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file
header.header > .EzfyHeaderSearch:first-of-type {
display: none !important;
}
Best,
Liz
Hi @IntechCarl
.header__icons.header__icons--localization.header-localization .EzfyHeaderSearch.EzfyHeaderSearch--desktop {
display: none !important;
}
I hope this helps
Best,
Daisy
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025