Title: Scroll offset help
Last modified: February 28, 2018

---

# Scroll offset help

 *  [blakeferm](https://wordpress.org/support/users/blakeferm/)
 * (@blakeferm)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/scroll-offset-help/)
 * Hi there! Love this plugin and almost have it working 100%. Can you help me with
   the offset for both Desktop/Mobile? I’ve added ‘#header:fixed’ to my offset settings,
   but it doesn’t seem to scroll to the exact position. Right now I’m using 83 pixels
   as my offset to show you where I’d like the page to scroll to when you click 
   on the left image of the guy playing guitar.
 * When you click on one of the two main images at the top of this page, I’d like
   the page to scroll to that pictures’ corresponding link/content. I’ve set the
   anchors already.
 * Best,
    Blake
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscroll-offset-help%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [malihu](https://wordpress.org/support/users/malihu/)
 * (@malihu)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/scroll-offset-help/#post-10026580)
 * Hello Blake,
 * Your header element seems to change its height depending on the logo fixed/sticky
   state.
 * I’d suggest the following:
 * Give your header element a fixed height for desktop by adding the following in
   your custom/additional CSS:
 *     ```
       @media only screen and (min-width: 980px){
           #header{ height: 83px; }
       }
       ```
   
 * Go to plugin settings and set “Offset” option value to:
 * `#header`
 * as it’s the only standard element on both desktop and mobile.
 * Doing the above will set your offset on desktop to the same 83 pixels you have
   now and the offset on mobile to your mobile menu height (65px).
 * Hope this helps

Viewing 1 replies (of 1 total)

The topic ‘Scroll offset help’ 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

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

 * 1 reply
 * 2 participants
 * Last reply from: [malihu](https://wordpress.org/support/users/malihu/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/scroll-offset-help/#post-10026580)
 * Status: not resolved