S
S
Shuboanator2016-01-20 00:54:01
css
Shuboanator, 2016-01-20 00:54:01

How to remove slide height constraint in FullPage.js?

I'm making a website using FullPage.js.
When adapting, I turned on the "responsive: 900" property, he stopped flipping through the slides, a side scroll appeared, but the slide height remained 100% (from the browser's screen). How can this restriction be removed? because not all content fits in height on one screen. It is necessary to make the height of the slider depend on the content.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Harold, 2016-01-20
@Shuboanator

// section
var SECTION_DEFAULT_SEL = '.section';
var SECTION = 'fp-section';
var SECTION_SEL = '.' + SECTION;
var SECTION_ACTIVE_SEL = SECTION_SEL + ACTIVE_SEL;
var SECTION_FIRST_SEL = SECTION_SEL + ':first';
var SECTION_LAST_SEL = SECTION_SEL + ':last';
var TABLE_CELL = 'fp-tableCell';
var TABLE_CELL_SEL = '.' + TABLE_CELL;
var AUTO_HEIGHT = 'fp-auto-height';
var AUTO_HEIGHT_SEL = '.fp-auto-height';

alvarotrigo.com/fullPage/examples/autoHeight.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question