This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Basic setup for using Swup page transitions and GSAP in a Wordpress site. | |
Notes (Will update as time goes on) : | |
1. Be sure that if you use ID's on elements there is only one throughout the site. | |
Since there is no actual page load Chrome has issues determining that you are not | |
using the same ID multiple times. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This allows your gravity forms to load via ajax to ensure they work correctly with page transitions that have no window/document.onload |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.gform_wrapper { | |
// UL that wraps the fields | |
ul.gform_fields { | |
// LI that wraps input | |
li.gfield { | |
// Inout label | |
label.gfield_label { |