Drop down menu not working on clickable hero image

Topic summary

A user encountered an issue where dropdown menu links positioned over a clickable hero image were not functioning properly. When hovering over menu items that overlapped the hero image, clicking would trigger the hero image link instead of the intended menu link. This problem was particularly severe on mobile devices.

Solution provided:

  • Add CSS code to the theme.liquid file
  • Navigate to: Online store > Themes > Edit code > theme.liquid
  • Insert the CSS before the closing tag

Outcome:
The fix successfully resolved the issue on both desktop and mobile. Another user experiencing the same problem requested clarification on implementation, which was provided with the same step-by-step instructions.

Summarized with AI on November 15. AI used: claude-sonnet-4-5-20250929.

Hi,

I am having major issues, I have a clickable hero image for my new arrivals, but when using my drop down menu, any of the links that falls over the hero image, the hero image gets click, not the actual link on the drop down menu. It is worse on mobile since it automatically just goes to the new arrivals (hero image link) instead of per example jewelry.

Here is my site: thebeaverboutique.com

Hi @Misombra

You can solve it by adding this css code to theme.liquid file before tag in Online store > Themes > Edit code


1 Like

You saved me! It works and works perfectly on desktop and mobile.

1 Like

Happy I could help!

Sounds good, will help me about, I’m having this issue where you put that code?

Go to your Online store > Themes > Edit code > open theme.liquid file, add code before tag

Alright, thanks