Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter Sandeep

    (@sandeepkylas)

    Hi,
    I had to stop the testing on the main site as the site crashed when I changed the header script. Sorry for not updating the test site here. I am now testing on https://mytestsite.asia/
    Pls. let me know if you see a solution. Your script is in Footer.php

    Plugin Author malihu

    (@malihu)

    I still can’t see the script when inspecting the page or viewing source. I only see a ( character before </body>, so maybe there’s a typo in footer.php?

    Thread Starter Sandeep

    (@sandeepkylas)

    Are you sure??? Can you pls re-try

    [ Moderator note: code fixed. Please wrap code in the backtick character or use the code button. ]

    <?php wp_footer(); ?>
    
    <script>
    (function($){
      $(document).ready(function(){
        $(this).on("click","#mobile-navigation-jquery a[rel='m_PageScroll2id']",function(){
          $("#page").trigger("click");
          //or $(".menu-close").trigger("click");
        });
      });
    })(jQuery);
    </script>
    
    </body>
    </html>
    Thread Starter Sandeep

    (@sandeepkylas)

    I see what you are saying
    Let me see how to refresh it

    Thread Starter Sandeep

    (@sandeepkylas)

    Yes, I am making the changes but I dont see in the page source code. The typo “(” was there in the morning and I replaced it with your code. I checked with the web hosting company and they say that the change is supposed to happen immediately. Do you have any idea? Meanwhile, I will check after sometime to see if the code gets displayed in the page source.

    Thread Starter Sandeep

    (@sandeepkylas)

    You can now see the script in the page source.. looks like there is a delay when I change the theme files.

    Afternoon, I’m having a similar issue with iPhone.

    Unfortunately I cant use the solution above as I’m trying to use the plugin on a post page that has tabs on and each tab goes to a separate page.

    For example, we have a page that is called “Property A” on that page there are tabs for:

    • Contact
    • Short Term Lets
    • Floor Plans

    These tabs then go off to a separate page so

    Property A/Contact
    Property A/short-term-lets
    Property A/Floor plans

    etc

    It works perfectly on my android phone using Chrome, but it won’t work on iPhones using safari.

    Thanks,

    Phil

    Plugin Author malihu

    (@malihu)

    @phil

    Can you send me a link?

    Plugin Author malihu

    (@malihu)

    @sandeep

    It seems to be working on https://mytestsite.asia/ (when I click on a menu item, the page scrolls and the menu closes).

    I’ve just emailed you I think… I don’t want to put the url on here at the moment as I’ve not updated all of the security settings on the site.

    Thanks,

    Phil

    Thread Starter Sandeep

    (@sandeepkylas)

    @malihu
    Thanks a lot for your help!

    I realized it works on iPhone but only on landscape mode. I tried on Chrome as well as Safari browsers and the menu only collapses on landscape mode. The issue continues with portrait mode

    Plugin Author malihu

    (@malihu)

    The function itself is resolution and rotation independent. I don’t have an iPhone to test this but I can’t see how it would affect anything…

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Not working on Iphone’ is closed to new replies.