fullPage.js
fullPage.js copied to clipboard
Display only on screen under 992px ?
How to disable breakpoint screens, let's say I want just under 992px to show and desktop disable fullPage Effect ? Is this possible ?
Usually, it's done the other way around. You disable it for mobile devices. This is done using the responsiveWidth
option.
However, it would be a nice addition to allow the opposite too, disable it on desktops :) I'll mark this topic as a possible enhancement for a future version 👍
@DSergioD if you're still facing this issue and need to get it done, you can manually do it using Fullpage.js's destroy function. Using vanilla JS you can check for the browser's viewport width, and then enable/destroy fullpage depending on that. Have a look at the docs for the destroy function.
https://github.com/alvarotrigo/fullPage.js#destroytype