Title: Disable offset for mobile
Last modified: January 14, 2017

---

# Disable offset for mobile

 *  Resolved [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/)
 * Hi Malihu, First let me thank you for the great plugin!
 * I must be missing something, but I can’t get the ‘width(>800)’ working for mobile.
 * I tried entering it in the WordPress menu #Motorraeder:width(<800) and also to
   the target on the page itself, well in the layout which creates the page. I am
   using Ultimatum framework. It has layouts in the back-end of the back-end that
   I can then assign to WordPress pages. So this layout assembles multiple pages
   to a one page design.
 * Here’s the URL: [http://dev03.fullframestudios.ch](http://dev03.fullframestudios.ch)
 * Where would I add the width parameter?
 * Thanks & Cheers
 * Alex

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

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8654107)
 * Hello Alex,
 * I think you should use the `#container-131` element selector (which is your top
   menu wrapper for the desktop) as the “Offset” value:
 * `#container-131`
 * If the above still offsets scrolling on mobile, try the following:
 * `#container-131:width(>959)`
 * Let me know if it works
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8654672)
 * Ahaaaaaa!! Thanks Malihu this works.
 * Especially after I figured out that I need to define this in the plugin settings
   as the offset value. You really have produced a very well thought through plugin
   here.
 * Thank you very much for your help!
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8655250)
 * You’re welcome. Thanks for your comments 🙂
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8655695)
 * You’re welcome!
 * Just thought I post that this parameter also works with class not only id.
 * So #your-div:width(>959) and .your-class:width(>959) both work.
 * Nice!
 *  [project13x](https://wordpress.org/support/users/project13x/)
 * (@project13x)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8815086)
 * I am also trying to figure out the offset.
 * I am using an offset of 390 because of fixed menu elements.
 * But on the mobile this size isn’t correct ofcourse.
 * How do you change it for mobile?
 * I am not sure where you fill in #your-div:width(>390)
 *  Thread Starter [alFrame](https://wordpress.org/support/users/alframe/)
 * (@alframe)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8816843)
 * You have to set it on the “Page to scroll ID” settings which are under “Settings”
   in the WordPress navigation.
 * See here: [http://area.fullframestudios.ch/PluginsImages/PageScrollToID/PageToScrollSettings.jpg](http://area.fullframestudios.ch/PluginsImages/PageScrollToID/PageToScrollSettings.jpg)
 * And here’s the div viewed in Chrome: [http://area.fullframestudios.ch/PluginsImages/PageScrollToID/ScrollToID_Desktop.jpg](http://area.fullframestudios.ch/PluginsImages/PageScrollToID/ScrollToID_Desktop.jpg)
 * Make sure you grab a div that’s visible in both cases, desktop rendering and 
   mobile rendering.
 * So in retro, I would probably have better picked the `#container-131` as suggested
   by Malihu. You can see the respective container just above the div pointed at
   in the above screenshot. With my choice of the class `.rscTopNav` I had to add
   an empty div on the page that only shows on mobile rendering. I ended up leaving
   it like this because I wanted less distance from the top of each section to the
   bottom of the header.
    -  This reply was modified 9 years, 2 months ago by [alFrame](https://wordpress.org/support/users/alframe/).

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

The topic ‘Disable offset for mobile’ 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

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

 * 6 replies
 * 3 participants
 * Last reply from: [alFrame](https://wordpress.org/support/users/alframe/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/disable-offset-for-mobile/#post-8816843)
 * Status: resolved