Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

rellax js implementation


Joeyearthly

Question

Site URL: https://earthlycraft.co

Hello!

So i'd really like to implement the multi speed parallax styles available in rellax.js; https://dixonandmoe.com/rellax/

Anyone had any success with this? I found some guidance within https://www.minimist.ca/articles/variable-speed-parallax-effects-in-squarespace, but no matter what i do to the inline code nothing seems to change

Thanks!

Joe

Edited by Joeyearthly
Link to post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

2 answers to this question

Recommended Posts

  • 0

Hi,

it did manage to make it work. However for some reason adding a CDN script didn't work, I had to copy the code and add it in the footer of the code injection section. There is a more recent version of the code here with responsive speed.

Hope it helps

 

Laurent

Link to post
  • 0
On 6/24/2020 at 12:15 AM, BelBarStudio said:

Hi,

it did manage to make it work. However for some reason adding a CDN script didn't work, I had to copy the code and add it in the footer of the code injection section. There is a more recent version of the code here with responsive speed.

Hope it helps

 

Laurent

Hi Laurent, I've also got it working, however I'm running into an issue when I resize the window, or use mobile view. The image slides out of place depending on the size of the window.  Is there any way to fix this? I'm happy to disable the effect on mobile, but I would like for the image to be aligned no matter the window size on desktop. 

my site url: lukaseriksen.com

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...