XF 1.4 How avoid the hover effect in the drop down menus?

Which one do you prefer?

  • Hover

    Votes: 1 33.3%
  • Click

    Votes: 2 66.7%

  • Total voters

Adam K M

Active member
How can I do that?
Take a look at the JS within your theme, do a search for the words "PopupOpen" and "PopupClosed", and take a look at what causes those classes to be added/removed. Simply change it to needing a click for it the classes to appear (I'd tell you how, but I'm looking at a minified version of the JS on XF, and it's hurting mah eyes). I'm willing to guess that the function which closes the popup won't need to be changed (It should fire whenever your mouse is no longer hovering over those boxes).

Personally, I like them on hover, but they do work on click for touchscreens, I believe.