fbpx

How to add a transition effect in elementor popup

Do you want to add a custom transition effect on your elementor popup?

In this video, I’ll show you how you can add a transition effect in elementor popup with some CSS and jQuery.

For more detailed explanation of elementor popup and header structure check revealing effect is elementor popup.

Here is the code

.overlay{
background:#4632DA;
height: 100%;
width: 100%;
position: fixed;
z-index: 99999;
left: 100%;
top: 0;
}
#close-btn{ display:none; cursor:pointer; } #close-btn.visible{ display:block; } body.page-id-178:not(.elementor-editor-active) .team-popup{ left: 100%; } body.page-id-178:not(.elementor-editor-active) .team-popup .dialog-lightbox-message{ display:none; }
jQuery("#team-1 a, #team-2 a").click(function(){
  jQuery('.overlay').animate({left: '0'},400);
  jQuery('.overlay').delay(300).animate({left: '-100%'},400);
  setTimeout(function(){
       jQuery('.team-popup').animate({left: '0'},400);
       jQuery('.team-popup .dialog-lightbox-message').css({"display": "flex"},400);
   }, 600)
  setTimeout(function(){
       jQuery('#close-btn').addClass("visible");	
   }, 900)
});
jQuery('#close-btn').click(function(){
  jQuery(this).removeClass('visible');
  jQuery('.overlay').animate({left: '0'},400);
  jQuery('.overlay').delay(300).animate({left: '100%'},400);
  jQuery('.team-popup').delay(700).animate({left: '100%'});
  setTimeout(function(){
       jQuery('.team-popup .dialog-lightbox-message').css({"display": "none"});	
   }, 1200)
});

Disclosure: Some of the links here are referral/affiliate links that means if you decide to buy through those links I’ll earn a commission at no extra cost to you. This is how I keep Designtheway.com up and running.

Here are some of my favorite website building tools

Thank you for reading the article hope you have found this helpful. Here are some of my favorite tools that I always use and hope you will find them helpful too. Please note these are affiliate links, if you do purchase anything using my links I’ll earn a small commission at no extra cost to you. I recommend these tools to my clients and friends as well.

Web Hosting: For starting a new website, I like to use GreenGeeks. They are reliable and affordable for a beginner. They have a very simple setup process that anyone can use. I’m personally using their service for over a year now.

Page Builder: For building beautiful websites in a short period of time I like to use Elementor. It is one of the most powerful page builders in the market. You don’t need any technical knowledge to make websites.

Content Writing: When you make a website you have to add content to it. I use Grammarly to write better content. It improves the writing by checking spelling and grammar mistakes automatically. It has a premium version but for starters, the free version is a good starting point.

Advertising Network: When you have built the website and have traffic on it, ads are the easiest way to monetize the website. Adsense is the most popular choice but I recommend Ezoic which will give you a much higher earning than Adsense and the best part is it is free to use.

You may also like

Picture of Ananda Projapati

Ananda Projapati

A freelance Wordpress consultant and educator.

Recent Posts

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.