1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Styling and Customization Questions' started by rafass, Jan 1, 2015.

?

Which one do you prefer?

  1. Hover

    1 vote(s)
    33.3%
  2. Click

    2 vote(s)
    66.7%
  1. rafass

    rafass Well-Known Member

    [​IMG]

    Opening with click would be better (on my opinion)
    How can I do that?
    Thanks!
     
  2. Adam K M

    Adam K M Active Member

    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.
     
    rafass likes this.
  3. rafass

    rafass Well-Known Member

    I'll try to find that it into the script. (little complicated xdd)
    Thanks for your reply @muffinjello. really appreciate it.
     

Share This Page