Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1380205
    salilou
    Participant

    I use X theme and Ubermenu.
    On mobile devices (iPhone 5+6) it is not possible to click the menu items.
    Nothing happens.
    Sometimes, if I press a little bit longer I guess, it works, but I was not able to reproduce it.
    Please help!
    Link follows

    #1380206
    salilou
    Participant

    It affects the upper and lower menu

    #1380209
    salilou
    Participant
    This reply has been marked as private.
    #1380449
    Nabeel A
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #1380994
    salilou
    Participant
    This reply has been marked as private.
    #1381944
    Rad
    Moderator

    Hi there,

    I did many testing and changed your code from this

    // .link-to-... is the class name wessigned to the main menu item
    jQuery('body').on('click', '.link-to-slide-04', function() {
     // revapi5 equals thePI identified for the slider
     // revshowslide(2) will load the second slide
     revapi5.revshowslide(4);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-07', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(7);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-16', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(16);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-19', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(19);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-21', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(21);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-23', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(23);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-25', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(25);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-28', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(28);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-29', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(29);
     return false;
    });
    jQuery('body').on('click', '.link-to-slide-30', function() {
     // revapi5 equals thePI identified for the slider
     revapi5.revshowslide(30);
     return false;
    });

    to this

    jQuery( document ).ready( function($) { 
    		// .link-to-... is the class name we assigned to the main menu item
    		$('.link-to-slide-04 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 // revshowslide(2) will load the second slide
    		 revapi5.revshowslide(4);
    		 return false;
    		});
    		$('.link-to-slide-07 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(7);
    		 return false;
    		});
    		$('.link-to-slide-16 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(16);
    		 return false;
    		});
    		$('.link-to-slide-19 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(19);
    		 return false;
    		});
    		$('.link-to-slide-21 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(21);
    		 return false;
    		});
    		$('.link-to-slide-23 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(23);
    		 return false;
    		});
    		$('.link-to-slide-25 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(25);
    		 return false;
    		});
    		$('.link-to-slide-28 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(28);
    		 return false;
    		});
    		$('.link-to-slide-29 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(29);
    		 return false;
    		});
    		$('.link-to-slide-30 a').off('touchstart touchend click').on('click', function() {
    		 // revapi5 equals the API identified for the slider
    		 revapi5.revshowslide(30);
    		 return false;
    		});
    });

    Still no luck, and images aren’t loading in mobile. But if you directly access the image, it loads. Would you mind re-installing the slider? Something is blocking the click even on mobile, turning of the touch events doesn’t work either.

    Thanks!

    #1384060
    salilou
    Participant

    Thank you
    How can I reinstall the slider?
    Do you mean reinstalling the plugin?

    #1384084
    salilou
    Participant

    And thinking about plan b:
    is there a way to build a responsive menu directly in the slider to have more control about actions and events?

    #1384162
    Lely
    Moderator

    Hi There,

    Yes, try reinstalling the plugin. Don’t forget to backup your slider.
    Regarding the menu, you may check this:https://www.themepunch.com/faq/modify-burger-menu/

    Hope this helps.

    #1384740
    salilou
    Participant

    Plugin deleted and reinstalled, slider imported: same problem as before.
    Quit a mess, after all the time of setting it up…
    What next? Do you have any further ideas?…

    #1385154
    Rad
    Moderator

    Hi there,

    Ubermenu might be using different touch events, how about using the X’s standard menu? We can try that first, let me know once you’re done setting up the X menu.

    Thanks!

    #1390283
    salilou
    Participant

    Thank you very much.
    Now it works!

    #1390374
    Joao
    Moderator

    Glad to hear it

    Joao

  • <script> jQuery(function($){ $("#no-reply-1380205 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>