Title: First click does not include 70px offset
Last modified: May 20, 2020

---

# First click does not include 70px offset

 *  Resolved [redbarndesign](https://wordpress.org/support/users/redbarndesign/)
 * (@redbarndesign)
 * [6 years ago](https://wordpress.org/support/topic/first-click-does-not-include-70px-offset/)
 * Hello,
    Very glad i stumbled onto your plugin. I have been unsuccessfully fighting
   a buggy Elementor/OceanWP page scroll issue. Your plugin fixed the scroll and
   now it scrolls smoothly in all browsers.
 * That said, I am having a similar problem to this issue…
    [https://wordpress.org/support/topic/page-scroll-to-id-offset-not-working-right/](https://wordpress.org/support/topic/page-scroll-to-id-offset-not-working-right/)
 * The first click scrolls down to the area, but does not include the 70px offset.
   
   However, ever other anchor link does include the 70px offset after scrolling 
   down. I saw the issue regarding lazy load, so I have scrolled through the page
   manually to load everything, then did a test again. But the first click still
   does not include the 70px offset.
 * Any ideas?
    Rick
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffirst-click-does-not-include-70px-offset%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)
 * [6 years ago](https://wordpress.org/support/topic/first-click-does-not-include-70px-offset/#post-12866606)
 * Hello,
 * This happens because of the way your theme handles its sticky top header. What
   happens is the header becomes shorter when you scroll down a bit. When this happens,
   every element below the header (i.e. the rest of the page) “moves” up, meaning
   every element’s top position is different than it was when the page was at the
   top (not scrolled) and the header was longer.
 * All this happens while the page is scrolling! That’s why you land on a different
   position (i.e. the correct one) when you’ve already scrolled the page.
 * In short, the plugin starts scrolling to the target position but by the time 
   it scrolls there, the target’s position is changed. The second time you click
   the link, the plugin scrolls again to target’s “new” correct position.
 * Hope all this makes sense cause it’s a bit technical 🙂
 * You can solve this in 2 ways, so choose the one that works best for you:
 * 1)Go to plugin settings and enable “Verify target position and readjust scrolling(
   if necessary), after scrolling animation is complete” option. Save changes and
   test your links.
 * 2)Add the following to your theme’s/additional CSS:
 *     ```
       .she-header + .elementor-sticky__spacer {
           position: relative;
           min-height: 101px;
       }
       ```
   
 * and test your links.
 * Let me know
 *  Thread Starter [redbarndesign](https://wordpress.org/support/users/redbarndesign/)
 * (@redbarndesign)
 * [6 years ago](https://wordpress.org/support/topic/first-click-does-not-include-70px-offset/#post-12866759)
 * Nailed it, Malihu! This has been a challenging issue and your plugin along with
   support was the only fix I could find. Thank You! Rick
 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [6 years ago](https://wordpress.org/support/topic/first-click-does-not-include-70px-offset/#post-12866777)
 * You’re welcome 🙂

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

The topic ‘First click does not include 70px offset’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/first-click-does-not-include-70px-offset/#post-12866777)
 * Status: resolved