I’m trying to apply transitions through my website but for some reason, the speed of the transition won’t work.
I have been following this video tutorial:
I have created the first transition from the homepage, selecting the Work Project as a trigger to the Work page… I can see the transition happening but the speed is wrong.
I have also added the custom code into the < /body > tag…
You need to change or add classes to the script. The classes are going to tell the browser which elements will wait for the default browser behaviour in order to show your out of page animation. Make sure you are changing the class names in the script where you see .element-class-here
Yes the problem is that the transition on the homepage when you click on the . trigger won’t finish to load the transition but it moves to the next page…
I’m not too sure which ones are the element classes to change?
So, you have a button for works. You need to take the class of the link and paste it where you see .element-class-here
If you are using different buttons with different class names and you want those buttons to trigger the same out interaction, you need to set the same delay for them pasting their classes in the script.