0

I am having an issue with an image interrupting my hover state. I have my menu which is a mega menu drop down for wordpress. I then have the company's logo z-indexed above the menu so it covers part of the top menu and part of the drop down menu. When my mouse scrolls over the z-indexed logo, it breaks my hover state and closes the drop down menu. Is there a way to make the image essentially not register on hover?

jameslcarton
  • 133
  • 1
  • 1
  • 6

1 Answers1

1

you can add

  pointer-events: none;

to your .top-menu-logo. it works in modern browsers but this is not necessarly the html structure I would recommend.

Victor Radu
  • 2,262
  • 1
  • 12
  • 18