{"action":"created","issue":{"url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/88","labels_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/88/comments","events_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/88/events","html_url":"https://github.com/kswedberg/jquery-smooth-scroll/issues/88","id":123196107,"number":88,"title":"Offset issue due to fixed navbar after scroll","user":{"login":"con322","id":6308063,"avatar_url":"https://avatars.githubusercontent.com/u/6308063?v=3","gravatar_id":"","url":"https://api.github.com/users/con322","html_url":"https://github.com/con322","followers_url":"https://api.github.com/users/con322/followers","following_url":"https://api.github.com/users/con322/following{/other_user}","gists_url":"https://api.github.com/users/con322/gists{/gist_id}","starred_url":"https://api.github.com/users/con322/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/con322/subscriptions","organizations_url":"https://api.github.com/users/con322/orgs","repos_url":"https://api.github.com/users/con322/repos","events_url":"https://api.github.com/users/con322/events{/privacy}","received_events_url":"https://api.github.com/users/con322/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-21T01:52:38Z","updated_at":"2015-12-21T14:36:26Z","closed_at":null,"body":"Is there a quick fix/options that so that after the navbar is fixed the offset is changed?"},"comment":{"url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/comments/166318882","html_url":"https://github.com/kswedberg/jquery-smooth-scroll/issues/88#issuecomment-166318882","issue_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/88","id":166318882,"user":{"login":"con322","id":6308063,"avatar_url":"https://avatars.githubusercontent.com/u/6308063?v=3","gravatar_id":"","url":"https://api.github.com/users/con322","html_url":"https://github.com/con322","followers_url":"https://api.github.com/users/con322/followers","following_url":"https://api.github.com/users/con322/following{/other_user}","gists_url":"https://api.github.com/users/con322/gists{/gist_id}","starred_url":"https://api.github.com/users/con322/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/con322/subscriptions","organizations_url":"https://api.github.com/users/con322/orgs","repos_url":"https://api.github.com/users/con322/repos","events_url":"https://api.github.com/users/con322/events{/privacy}","received_events_url":"https://api.github.com/users/con322/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T14:36:26Z","updated_at":"2015-12-21T14:36:26Z","body":"Here's link atm it works (not using your code using the below code) but you'll see first click on the links blow the page header scroll to the correct position but if you click the link again when not at the top it changes position.\r\n\r\n    http://middlers.plewscreative.co.uk/solutions-for-you/individuals/\r\n\r\n\r\n        smoothScroll.init({\r\n            offset: 190, // Integer. How far to offset the scrolling anchor location in pixels\r\n        });"}}