Created
December 28, 2017 23:31
-
-
Save rayflores/c6d991bc4808967f0ee798a828c53c60 to your computer and use it in GitHub Desktop.
place beaver builder modal in header...
This file contains 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
jQuery(document).ready(function() | |
// when the builder isn’t active… | |
if ( typeof FLBuilder == 'undefined' && typeof FLBuilderLayout != 'undefined' ) { | |
// grab main node and replace here, then grab inner header div and replace here | |
jQuery('.fl-node-5a4543bc2c784').insertAfter('.hero-inner'); | |
} | |
//And here if you need it to run when the builder is active… | |
if ( typeof FLBuilder != 'undefined' ) { | |
// Your JS here. | |
} | |
)}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment