• Resolved bensita

    (@bensita)


    Hi! I must say that I love this plugin, I find it recently and changing all older popup plugins to this one. But now I find an issue that I could′t find a solution yet.
    As you can see here https://micasaentucasa.com/
    the “area de cobertura” button on main menu triggers a basic popup.
    But when testing on mobile is not triggering the popup, can you help me find out a solution?

    In setup I′m using Pop-up Trigger > click > and added the class that I gave to the item on main menu.

    Thanks in advance,

    Hernan B

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @bensita,

    Thank you for contacting us.

    The desktop version menu is different from the mobile menu. Meaning there is a different element created for mobile that shows up once it detects the user is viewing it from certain device width. As they are different, you would have to use the class selectors for that same “area de cobertura” menu item from the mobile menu. I have found the item is using the following classes:

    popup-cobertura menu-item menu-item-type-custom menu-item-object-custom menu-item-1118

    So you can go ahead and use of one of these classes in the trigger option so the popup also displays from the mobile menu.

    Best,
    Jonathan S

    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bensita

    I hope you are doing well and safe!

    We haven’t heard from you in a while, I’ll mark this thread as resolved.

    Feel free to let us know if you have any additional question or problem.

    Best Regards
    Patrick Freitas

    Thread Starter bensita

    (@bensita)

    Hey again, sorry I didn′t answer before and thanks for your kind support.

    In fact there was only one menu for desktop and mobile and I believe the setup is as you mention before.

    .popup-cobertura is working fine as a trigger class in desktop but not in mobile. I already tried to add another class, even the id of that button without luck.

    These are the selectors placed on that input:
    .popup-cobertura, .menu-item-1118, #menu-item-1118

    Let me know if there is a way to fix this please.

    Thanks in advance,

    Hernan B.

    • This reply was modified 3 years ago by bensita.
    Plugin Support Patrick – WPMU DEV Support

    (@wpmudevsupport12)

    Hi @bensita

    Thank you for the update

    It may be related to how the mobile menu is working, just in case, can you modify the selector to .popup-cobertura a

    Let us know if it makes any difference
    Best Regards
    Patrick Freitas

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @bensita ,

    We haven’t heard from you for some time now, so it looks like changing the selector worked for you.

    Feel free to re-open this ticket if needed.

    Kind regards
    Kasia

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Main menu trigger not working mobile’ is closed to new replies.