{"action":"opened","issue":{"url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/87","labels_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/87/comments","events_url":"https://api.github.com/repos/kswedberg/jquery-smooth-scroll/issues/87/events","html_url":"https://github.com/kswedberg/jquery-smooth-scroll/issues/87","id":123191519,"number":87,"title":"BBQ with offset","user":{"login":"FelixINX","id":8009156,"avatar_url":"https://avatars.githubusercontent.com/u/8009156?v=3","gravatar_id":"","url":"https://api.github.com/users/FelixINX","html_url":"https://github.com/FelixINX","followers_url":"https://api.github.com/users/FelixINX/followers","following_url":"https://api.github.com/users/FelixINX/following{/other_user}","gists_url":"https://api.github.com/users/FelixINX/gists{/gist_id}","starred_url":"https://api.github.com/users/FelixINX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FelixINX/subscriptions","organizations_url":"https://api.github.com/users/FelixINX/orgs","repos_url":"https://api.github.com/users/FelixINX/repos","events_url":"https://api.github.com/users/FelixINX/events{/privacy}","received_events_url":"https://api.github.com/users/FelixINX/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-21T00:11:31Z","updated_at":"2015-12-21T00:11:31Z","closed_at":null,"body":"Hi,\r\n\r\nI have a bootstrap website, with Smooth Scrool with Back Button Support. Currently, when clicking on a button, I cannot see the first 60px of my div (the space of the navbar. I have seen an offset option, but it dosen't seen to be working. I am not sure were to put this. This is the only code that I added for the plugin (except of the base script):\r\n```javascript\r\n$(document)\r\n    .on('click', 'a[href*=\"#\"]', function() {\r\n      if ( this.hash && this.pathname === location.pathname ) {\r\n        $.bbq.pushState( '#/' + this.hash.slice(1) );\r\n        return false;\r\n      }\r\n    })\r\n    .ready(function() {\r\n      $(window).bind('hashchange', function(event) {\r\n        var tgt = location.hash.replace(/^#\\/?/,'');\r\n        if ( document.getElementById(tgt) ) {\r\n          $.smoothScroll({scrollTarget: '#' + tgt});\r\n        }\r\n      });\r\n      $(window).trigger('hashchange');\r\n    });\r\n```\r\n\r\nWhere do I need to but the Offset settings?\r\n\r\nHere is the demo : http://7freres.com/service-dete-new#/construction\r\n\r\nThank you!"}}