Re: Why do I have 2 search bar in my home page dawn theme

Why do I have 2 search bar in my home page dawn theme

IntechCarl
Shopify Partner
196 1 22

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

IntechCarl_0-1741226749256.png

 

Replies 10 (10)

B2Bridge
Explorer
362 75 91

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;
}

 

Screenshot_3.png

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.

IntechCarl
Shopify Partner
196 1 22

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.

Kyle_liu
Shopify Partner
421 53 77

Hi @IntechCarl 

 

Please check your 'snippets/header-search.liquid' file and search for 'predictive-search' to see if there are multiple files

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee
IntechCarl
Shopify Partner
196 1 22

Hi @Kyle_liu , There are predictive-search, but I don't know which is which.

Kyle_liu
Shopify Partner
421 53 77

Is there a “header__icons header__icons--localization header-localization” wrapper, if there is remove it.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee
IntechCarl
Shopify Partner
196 1 22

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.

Kyle_liu
Shopify Partner
421 53 77

I'm glad to have helped you, if this is helpful, please Like and Accept the solution.

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to contact me Email Me Buy Me A Coffee
Moninicrew
Tourist
4 0 1

I would like to chat with you as you are posting on the present year 2025.  I can’t connect with a live support advisor and I believe my account has being compromised 

LizHoang
Shopify Partner
1251 159 195

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

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Check our Joy Rewards & Loyalty Program

DaisyVo
Shopify Partner
4375 485 577

Hi @IntechCarl 

 

To complete your requests, please follow these steps: (Remove all the old code you have added for this search bar)
  1. Go to Shopify Admin > Online Store > Theme > Customize > Theme Settings > Custom CSS https://prnt.sc/i8ljAMlHJUKl
  2. Paste the code provided into the Custom CSS section.

 

.header__icons.header__icons--localization.header-localization .EzfyHeaderSearch.EzfyHeaderSearch--desktop {
    display: none !important;
}

 

Here is the result: image_720.png

 

I hope this helps

 

Best,

 

Daisy

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution