• Resolved alFrame

    (@alframe)


    Hi malihu, First let me confirm that the plugin seems to work fine with WP 4.9.1

    Also, I should finally hit that donate button because your plugin really is a big help for me on quite a few websites ??

    That said, I am facing a problem with the “Offset” parameter. I purchased a plugin that makes creating mobile menus real easy. It’s the Responsive Menu plugin from https://responsive.menu

    Problem is that this plugin creates a different header and hides the desktop header, so the offset doesn’t really work anymore, because the element it’s looking for doesn’t exist in mobile display.

    Off course I could do the same pixel height for both navigation’s. Which is actually the case atm. But it will have to change.

    So, is there a way to enter two elements the scroll to id plugin could be looking for?

    Thanks – Alex

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

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

    (@malihu)

    Hello Alex,

    You can’t set 2 element selectors as the offset value. I checked your page and maybe you could solve the issue by entering the following selector in the “Offset” option:

    div:visible:fixed

    I’m not sure if the above will work as it depends on other aspects of your theme’s layout but give it a try ??

    This said, you can always do what you describe programmatically (via javascript). If the above selector doesn’t do the trick, maybe we could add an extra js script in your theme (e.g. via your child-theme) and change the offset value dynamically.

    Let me know

    Thread Starter alFrame

    (@alframe)

    Hey Malihu,

    I am very sorry for my late reply! And thanks for your suggestion. It seems to work perfectly right.

    Awesome!

    Happy Holidays!

    Alex

    Plugin Author malihu

    (@malihu)

    You’re welcome. Happy Holidays ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Offset Question’ is closed to new replies.