Title: Offset Question
Last modified: December 6, 2017

---

# Offset Question

 *  Resolved [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/offset-question/)
 * 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](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](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Foffset-question%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/offset-question/#post-9757117)
 * 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](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/offset-question/#post-9801833)
 * 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](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/offset-question/#post-9802899)
 * You’re welcome. Happy Holidays 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Offset Question’ is closed to new replies.

 * ![](https://ps.w.org/page-scroll-to-id/assets/icon-256x256.png?rev=1401043)
 * [Page scroll to id](https://wordpress.org/plugins/page-scroll-to-id/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/page-scroll-to-id/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/page-scroll-to-id/)
 * [Active Topics](https://wordpress.org/support/plugin/page-scroll-to-id/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-scroll-to-id/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-scroll-to-id/reviews/)

## Tags

 * [offset](https://wordpress.org/support/topic-tag/offset/)

 * 3 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/offset-question/#post-9802899)
 * Status: resolved