• Resolved jspada

    (@jspada)


    Hello, I am following the set up directions of a genesis based theme where it has used your plugin to scroll the home page to different targets. This works perfectly.

    The theme set up also involves using a mobile detection plugin, Mobble, to dynamically load or not load css and js based on mobile or not.

    I noticed that the highlighting was not working in the menu and discovered by deactivating plugins that it was mobble that was causing the issue. The highlighting works if the mobble plugin is activated only, but if I use one of its functions as the theme suggests, the highlight class is never added to the links in the menu.

    http://painlesstech.com/forestcoveappraisals/

    Because of the conflict, I decided to try another mobile detection plugin. I tried the AddFunc Adaptive Content plugin and it causes exactly the same issue.

    Im thinking that the way these plugins work, they must be doing something or changing something in the way the page is output that bypasses what your plugin does.

    Is there anyway around this?
    Are there any mobile detection plugins known to work with your plugin?
    Is there a way to modify either your plugin or the others to make this work? A script to add to the functions file perhaps?
    Maybe change the priority of the action I’m hooking into to run the functions of the mobile detection plugin?

    Any help would be greatly appreciated.

    Im using Version 1.6.1 of your plugin
    WP 4.6.1
    Mobble Version 1.5 or AddFunc Adaptive Content Version 2.0

    Thank you in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author malihu

    (@malihu)

    Hello,

    I checked your site and I saw that plugin’s option “Force single highlight” is enabled. Can you try disabling it and see if this is causing the issue?

    Let me know

    Thread Starter jspada

    (@jspada)

    Thank you for your reply.

    ‘Force single highlight’ is now disabled and the issue persists.

    Let me know what else I can try.

    Thank you.

    Plugin Author malihu

    (@malihu)

    I’m getting the following error in the console while scrolling the page:

    Uncaught TypeError: Cannot read property 'top' of undefined - parallax.js?ver=4.6.1:14

    This error comes from a window scroll event in parallax.js. There’s a change that it affects links highlighting (as they also rely in a js window scroll function). Can you check it?

    I’m guessing that the error happens because the portfolio section is missing.

    Thread Starter jspada

    (@jspada)

    Thank you! That was it.
    I thought I had changed all references to ‘portfolio’ in the theme but I had missed the parallax.js file.

    Issue resolved.

    Thank you for your prompt assistance.

    Plugin Author malihu

    (@malihu)

    No problem 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Highlight class not added while using Mobile detection plugins’ is closed to new replies.