alvarotrigo / pagePiling.js

pagePiling plugin by Alvaro Trigo. Create a scrolling pile of sections. http://alvarotrigo.com/pagePiling/
4.1k stars 654 forks source link

Sections overlapping #201

Closed gmleon closed 4 years ago

gmleon commented 4 years ago

Hi! I would like to use the plugin for a project but even with the simplest version of the demo page, all sections overlap. Here's my test code based on the demoExample, just with a few less elements:

`<!DOCTYPE html>

pagePiling.js

Create an original scrolling site


jQuery plugin

Pile your sections one over another and access them scrolling or by URL!

Configurable

Plenty of options, methods and callbacks to use.

Compatible

Designed to work on tablet and mobile devices.

Oh! And its compatible with old browsers such as IE 8 or Opera 12!

` Here's the output: ![image](https://user-images.githubusercontent.com/11980594/80362658-4a7caf00-8883-11ea-8255-6beecfeab70a.png) This happens both on Google Chrome and Firefox, on Windows 10. Any ideas? Thank you!!
alvarotrigo commented 4 years ago

Sounds like you forgot to add the CSS or you are overwriting the properties on it. Try some of the provided examples and take it as the starting point to avoid mistakes on the way.