Hey Everyone, what’s up?
In today’s super creative tutorial we’ll see How to create a Fly-In Popup in Divi the one that Elegant Themes have had on their site for more than 2 years and they never showed how they’ve added this kind of Popup to their site. So today I made it possible with Divi. It works exactly like the same and you can use it to grow your Email List or show a Sale Notice in a modern way.
Here’s a quick look at how it looks in action. You can see when we hover on the Button which is fixed on the Bottom Left of the screen it expands and on the click it shows the Popup with a nice and smooth animation. I’ve also added the Email Optin Module in the Popup and a cool little thing that when you’re in focus in the Email field it shows the title on top just like Elegant Themes. I hope I’ll not get a copyright strike from them 😑
Let’s see How to achieve this same thing on your site
All you’ve to do is simply enter your Name and Email in the form below and click on the Submit button then you’ll see the Download Layout button just download the layout.
After Downloading you’ll need to extract the .Zip file on your PC after extracting you’ll get a .json file. Once you’ve .json file you’ll need to go to any page you want and Enable the Divi Builder. Once Divi Builder is enabled on your page you can now drag the extracted .json file and drop it to Divi Builder. You’ll then see a popup, just uncheck the option “Replace Existing Content” and click on the Import button.
Now the layout will be successfully imported on your page you can now simply change the content to your own and you’re good to go. The JQuery doesn’t load in Divi Builder so you’ll be able to change content easily. You can also use Layers View to edit more easily.
Where do I the find jQuery and CSS?
If you want to make some advanced changes then you’ll find the Code used to make all this happen by enabling the “Layers View”. There you’ll find a Row Labeled “Important Codes added below” and there will 2 modules as you can see in the image below.
How can I add a floating effect to any Divi Module?
If you haven’t noticed yet, there’s a cool Floating Animation going on to the Images (The Gif boxes) which is super cool. So what If you want to add the same Floating Animation to some other Module? All you’ve to do is to add the CSS below to any Module you wish. To add go to that Module settings -> Advanced tab -> Custom CSS -> Main Element and simply paste it in the box.
-webkit-animation: float 3s infinite; animation: float 3s infinite; -webkit-transition: all 1s ease; transition: all 1s ease;
How can I show this globally?
Well, If you want to show it globally on your site then you can take advantage of Divi Theme Builder. Simply Edit the Global Footer (I don’t recommend Header) and paste this Section anywhere in the Footer and boom It will show on your whole site. Coooool 😎
And there you go something super creative for Divi. Hope you liked it and will use it to attract more visitors. Please let me know in the comments how you used it I’d love to hear from you. All the credit goes to Elegant Themes, the real talented people are there I’m just a copy cat 😝
Have a great day!