Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #432134

    Hi

    I’m having a problem. The menu doesn’s work on internet explorer when using a windows tablet or surface.

    When you touch the menu the drop down appears but when you release to press the sub menu option you want the drop down just closes.

    #432579

    Hi moreleads!

    Could you provide us with a link to the site in question so that we can take a closer look please?

    Cheers!
    Rikard

    #432675

    Hi Rikard

    The problem is on wif.pt

    #432833

    Hi!

    Please go to Enfold theme options > General Styling tab and add following code to Quick CSS field to switch to mobile menu earlier

    @media only screen and (max-width: 1024px) {
    #mobile-advanced, #advanced_menu_toggle, #advanced_menu_hide { display: block; }
    nav.main_menu { display: none; }}

    Cheers!
    Yigit

    #433364

    Thanks for your reply yigit but that doesn’t seem to solve the problem.

    The problem only exists on internet explorer on touch mode. I don’t really like to change the aspect for all devices just because of this small percentage of devices.

    I would like to know if there is a way to address the problem only on the specific browser on specific devices.

    #434784

    Hey!

    Can you provide a screenshot of the issue?

    Best regards,
    Josue

    #435316

    Hi

    I can’t really provide an screenshot because it isn’t a visual problem but a functionality problem.

    #436805

    Hey!

    I’m not sure if any of us has a windows tablet to test on. Have you tried doing a tap but hold it for a second or two? This simulates a hover on Android. Not sure how it works on that device.

    EDIT: It looks like that’s how it’s supposed to work for the Surface tablet at least, http://superuser.com/questions/503004/equivalent-of-mouse-hover-on-a-touch-screen, should be the same for other Windows mobiles.

    Cheers!
    Elliott

    • This reply was modified 9 years ago by Elliott.
    #442343

    Hi Elliot

    After some reading, it looks like that windows mobile uses a tag to translate tap to hover on mobile. The tag is “aria-haspopup=true”.

    So where can i insert this to the menu?

    #443006

    Hi!

    Please add following code to Functions.php file in Appearance > Editor

    function add_custom_tag(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery('a#advanced_menu_toggle').attr('aria-haspopup', 'true');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_tag');

    Cheers!
    Yigit

Viewing 10 posts - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.