So I’ve been trying to get a parallax plugin to work with my site which is based on thew one page site skeleton and I’m having some really weird issues, and I’m wondering if anyone has ever built in a parallax effect in Grav before. I’m using a jQuery plugin that I have used in the past: http://pixelcog.github.io/parallax.js/ which I know works, and it works with the jquery that’s used by Grav (2.x.min) but for whatever reason I can’t get the image to display. The plugin doesn’t need any weird CSS, and the space for the image is there, but no image.
I can get the image to display in the twig template if I add it directly using an image tag or by making it the background of a div, but not using the code for the plugin. I don’t get any javascript errors in the console, I know the path to the image is correct, the javascript file is loading, but it just doesn’t work.
I’m not asking for anyone to debug my code, I’m just curious is anyone has built a one page Grav site with parallax and what you might have used.