{"action":"opened","issue":{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2785","repository_url":"https://api.github.com/repos/alvarotrigo/fullPage.js","labels_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2785/labels{/name}","comments_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2785/comments","events_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2785/events","html_url":"https://github.com/alvarotrigo/fullPage.js/issues/2785","id":240946445,"number":2785,"title":"Fixed scroll distance?","user":{"login":"Noodles2000","id":29949785,"avatar_url":"https://avatars3.githubusercontent.com/u/29949785?v=3","gravatar_id":"","url":"https://api.github.com/users/Noodles2000","html_url":"https://github.com/Noodles2000","followers_url":"https://api.github.com/users/Noodles2000/followers","following_url":"https://api.github.com/users/Noodles2000/following{/other_user}","gists_url":"https://api.github.com/users/Noodles2000/gists{/gist_id}","starred_url":"https://api.github.com/users/Noodles2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noodles2000/subscriptions","organizations_url":"https://api.github.com/users/Noodles2000/orgs","repos_url":"https://api.github.com/users/Noodles2000/repos","events_url":"https://api.github.com/users/Noodles2000/events{/privacy}","received_events_url":"https://api.github.com/users/Noodles2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-06T12:52:24Z","updated_at":"2017-07-06T12:52:24Z","closed_at":null,"body":"I'm using the fullpage.js plugin for a website I'm building. All is good, and and after some tweaking in HMTL and CSS the plugin works how I want it to work. But, I've ran into a small problem I can't fix.\r\n\r\nI'm running the slider in a container with a 100px header above. So the height of the #fullpage container/wrapper is always [the browser height] - 100px. With this the first problem occurred. The height of the slides were set to the browsers height instead of the container (for example the browsers height is 700px, and therefor my slides are, but the container is 600px). I've managed to fix this by overwriting the height of the slides, like this:\r\n\r\n```\r\nfp.section {\r\nheight: 100% !important;\r\n}\r\n```\r\nI know it's dirty, but hey, it works. Until I added a hover effect on the container, which scales it by scale3d(1.015, 1015, 1015). This causes the container to scale, and mess up the scroll distance.\r\n\r\nLong question in short: can I somehow set the code, so the scroll distance (transform: translate3d) to be 'fixed' (= [browserheight] - 100px)?\r\n\r\nI'm calling the plugin by the following code with the following:\r\n\r\n```\r\njQuery('#fullpage').fullpage({\r\n    navigation: false,\r\n    easing: 'easeInOutQuart',\r\n    css3: true,\r\n    easingcss3: 'cubic-bezier(0.77, 0, 0.175, 1)',\r\n    scrollingSpeed: 800,\r\n    fitToSection: false,\r\n    verticalCentered:false\r\n    });\r\n});\r\n```\r\nMany many thanks!"}}
{"actor":{"display_login":"Noodles2000"}}