How to prevent dropdowns from interfering with product search?

Solved

How to prevent dropdowns from interfering with product search?

JonasBorum
Tourist
15 0 1

Hello guys!

 

Yet another question! When I search for a product it isn't very pleasant that my dropdowns on the mega menu are interacting with it. Any solutions?

 

Thanks in advance

 

Store: santibo.dk

Password: Santibo123

Accepted Solution (1)

StoreWatchers
Trailblazer
205 30 39

This is an accepted solution.

Hello @JonasBorum,

 

Greetings from the Store Watchers Support Team! Happy to help you today.

 

Go to Online Store -> Actions -> Edit code. Then find theme.liquid.

 

online-store.JPG


In your theme.liquid file, please paste the code below before the </head> tag.

<style>
#SearchResultsWrapper{
position: relative!important;
z-index: 999999!important;
}
</style>

Let me know if need further assistance

Regards,
Store Watchers Support Team

StoreWatchers - Automate testing for your Shopify store in seconds


If you find my reply helpful, please hit Like and Mark as Solution
Visit us: App Store | Website | FAQs

View solution in original post

Replies 5 (5)

StoreWatchers
Trailblazer
205 30 39

This is an accepted solution.

Hello @JonasBorum,

 

Greetings from the Store Watchers Support Team! Happy to help you today.

 

Go to Online Store -> Actions -> Edit code. Then find theme.liquid.

 

online-store.JPG


In your theme.liquid file, please paste the code below before the </head> tag.

<style>
#SearchResultsWrapper{
position: relative!important;
z-index: 999999!important;
}
</style>

Let me know if need further assistance

Regards,
Store Watchers Support Team

StoreWatchers - Automate testing for your Shopify store in seconds


If you find my reply helpful, please hit Like and Mark as Solution
Visit us: App Store | Website | FAQs
JonasBorum
Tourist
15 0 1

Hello StoreWatchers, it didn't seem to work. Any other ideas?

StoreWatchers
Trailblazer
205 30 39

Hello @JonasBorum,

 

That's weird, it should work. Can you please send me a screenshot or video of the issue from your end for further investigation?

 

Let me know if need further assistance

Regards,
Store Watchers Support Team

StoreWatchers - Automate testing for your Shopify store in seconds


If you find my reply helpful, please hit Like and Mark as Solution
Visit us: App Store | Website | FAQs
JonasBorum
Tourist
15 0 1

It worked!

 

I found out i put it in the code incorrectly, thank you very much

 

Perhaps is there any way you can fix this problem also: https://community.shopify.com/c/technical-q-a/mega-menu/m-p/1980332#M121753

 

Thanks in advance

JonasBorum
Tourist
15 0 1

Also is their any code, to also show the price when searching?