Title: Control the offset on scroll
Last modified: September 28, 2022

---

# Control the offset on scroll

 *  [Arne Teubel](https://wordpress.org/support/users/arnerobot/)
 * (@arnerobot)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/control-the-offset-on-scroll/)
 * Hello.
 * Is there any chance that I can edit the scroll offset from withing the plugin?
   I have a fixed header on my website and I need to enlarge the offset of the smooth
   scroll. I have currently done that by editing the “rtoc_scroll.js” by changing
   this line “var headerHight = 135” (from 100 to 135). Is there a field to do that
   in the dashboard or could it be implemented? Of course when I now update the 
   plugin my own changes to the JS-code are lost so my solution is not adaequat.
 * Thank you!
    Arne
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcontrol-the-offset-on-scroll%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Control the offset on scroll’ is closed to new replies.

 * ![](https://ps.w.org/rich-table-of-content/assets/icon-256x256.png?rev=2252503)
 * [Rich Table of Contents](https://wordpress.org/plugins/rich-table-of-content/)
 * [Support Threads](https://wordpress.org/support/plugin/rich-table-of-content/)
 * [Active Topics](https://wordpress.org/support/plugin/rich-table-of-content/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rich-table-of-content/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rich-table-of-content/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [Arne Teubel](https://wordpress.org/support/users/arnerobot/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/control-the-offset-on-scroll/)
 * Status: not resolved