{"id":1754,"date":"2021-06-20T11:28:24","date_gmt":"2021-06-20T11:28:24","guid":{"rendered":"https:\/\/elementor.com\/academy\/?p=1754"},"modified":"2023-04-30T08:40:11","modified_gmt":"2023-04-30T08:40:11","slug":"how-to-create-a-lottie-widget-popup-button","status":"publish","type":"post","link":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/","title":{"rendered":"How to Create a Lottie Widget Popup Button"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1754\" class=\"elementor elementor-1754\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-313fc630 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"313fc630\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-2617d1cd\" data-id=\"2617d1cd\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-5c657f06 elementor-widget elementor-widget-video\" data-id=\"5c657f06\" data-element_type=\"widget\" data-settings=\"{&quot;youtube_url&quot;:&quot;https:\\\/\\\/www.youtube.com\\\/watch?v=mLZ8OhqlRrY&quot;,&quot;video_type&quot;:&quot;youtube&quot;,&quot;controls&quot;:&quot;yes&quot;}\" data-widget_type=\"video.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-wrapper elementor-open-inline\">\n\t\t\t<div class=\"elementor-video\"><\/div>\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-20ce3d93 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"20ce3d93\" data-element_type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-44aa6296\" data-id=\"44aa6296\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-70ef26a1 elementor-tabs-view-horizontal elementor-widget elementor-widget-tabs\" data-id=\"70ef26a1\" data-element_type=\"widget\" data-widget_type=\"tabs.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-tabs\">\n\t\t\t<div class=\"elementor-tabs-wrapper\" role=\"tablist\" >\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-1891\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-1891\" aria-expanded=\"false\">Overview<\/div>\n\t\t\t\t\t\t\t\t\t<div id=\"elementor-tab-title-1892\" class=\"elementor-tab-title elementor-tab-desktop-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-1892\" aria-expanded=\"false\">Transcript<\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t\t<div class=\"elementor-tabs-content-wrapper\" role=\"tablist\" aria-orientation=\"vertical\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"true\" data-tab=\"1\" role=\"tab\" tabindex=\"0\" aria-controls=\"elementor-tab-content-1891\" aria-expanded=\"false\">Overview<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-1891\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"1\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-1891\" tabindex=\"0\" hidden=\"false\"><p>Learn how to use the Lottie Widget as a button and set it to play an animation and open a menu popup, upon clicking it. These subtle animations can make a big difference, really improving the UX and increasing engagement.<\/p><p>In this tutorial you&#8217;ll learn how to:<\/p><p>\u2714\ufe0e Add Lottie Animations via external URLs<br \/>\u2714\ufe0e Use \u201con click\u201d trigger settings to make animations play according to your preference <br \/>\u2714\ufe0e Add a dynamic action link that toggles a menu popup<br \/>\u2714\ufe0e And much more!<\/p><\/div>\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-tab-title elementor-tab-mobile-title\" aria-selected=\"false\" data-tab=\"2\" role=\"tab\" tabindex=\"-1\" aria-controls=\"elementor-tab-content-1892\" aria-expanded=\"false\">Transcript<\/div>\n\t\t\t\t\t<div id=\"elementor-tab-content-1892\" class=\"elementor-tab-content elementor-clearfix\" data-tab=\"2\" role=\"tabpanel\" aria-labelledby=\"elementor-tab-title-1892\" tabindex=\"0\" hidden=\"hidden\"><p>hile its zip from Elemental today I&#8217;ll<br \/>show you a creative way to use the lotty<br \/>widget as a button and set it to play an<br \/>animation and open a menu pop-up at the<br \/>same time<br \/>these subtle animations can make a big<br \/>difference really improving the UX and<br \/>increasing engagement so let&#8217;s see how<br \/>it&#8217;s done<br \/>from the homepage I&#8217;ll go ahead and<br \/>click here to edit the header then<br \/>search for and drag in the latte widget<br \/>I&#8217;ll change the source to external URL<br \/>because I will be using this online<br \/>Lottie animation link<br \/>then simply paste it let&#8217;s first design<br \/>it a bit before making it work in style<br \/>I&#8217;ll decrease the width of it so it fits<br \/>in nicely<br \/>and to change the color to black simply<br \/>go to CSS filters and set the brightness<br \/>to zero<br \/>now let&#8217;s bring it to life first I&#8217;ll<br \/>make sure the animation plays according<br \/>to my preference<br \/>I&#8217;ll set the trigger to unclick so the<br \/>animation starts playing upon clicking<br \/>the Lottie button<br \/>gret next it&#8217;s time to make it open and<br \/>close a pop-up for this tutorial I&#8217;ll<br \/>use a pre design menu pop-up let&#8217;s<br \/>quickly check it out<br \/>as you can see it takes up the entire<br \/>screen giving it that cool effect when<br \/>it opens I also hit the close button<br \/>because the lotty widget should both<br \/>open and close the pop-up when toggling<br \/>it meaning it needs to be clickable at<br \/>all times therefore we need to make sure<br \/>the entire header appears on top of the<br \/>pop-up so let&#8217;s go back to the header<br \/>and see how it&#8217;s done<br \/>we will use the z-index setting to<br \/>organize the stack order of our elements<br \/>an element with the greatest tech order<br \/>is always in front of an element with<br \/>the lower one you can set the stack<br \/>number on any section column or widget<br \/>under the Advanced tab I&#8217;ll go ahead and<br \/>set the Z index for the entire section<br \/>I&#8217;ll set it to 10,000 so it will always<br \/>be on top especially above the pop-up<br \/>okay it&#8217;s time to set the latte widget<br \/>to toggle the pop-up in the lotty<br \/>drop-down I&#8217;ll change the link to custom<br \/>URL and click on the dynamic tags icon<br \/>then under actions choose pop-up<br \/>the action to toggle lastly search for<br \/>the pop-up and selected<br \/>let&#8217;s update and check it out<br \/>you<br \/>cool the lotty widget both opens and<br \/>closes the menu pop-up well that&#8217;s it<br \/>now you know how to use the Lottie<br \/>widget as a button and set it to play an<br \/>animation and toggle the menu pop-up at<br \/>the same time these subtle animations<br \/>can make a big difference<br \/>just like these animated social icons<br \/>for example set to play on Havre<br \/>so go ahead add your own Lottie<br \/>animations to your designs they&#8217;ll<br \/>really help increase engagement and make<br \/>your site stand out without touching any<br \/>code have fun playing around and don&#8217;t<br \/>forget to subscribe to our YouTube<br \/>channel for more tips and tutorials ciao<br \/>for now<\/p><\/div>\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Overview Transcript Overview Learn how to use the Lottie Widget as a button and set it to play an animation and open a menu popup, upon clicking it. These subtle animations can make a big difference, really improving the UX and increasing engagement. In this tutorial you\u2019ll learn how to: \u2714\ufe0e Add Lottie Animations via [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":9730,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"elementor_theme","format":"standard","meta":{"footnotes":""},"categories":[14],"tags":[41],"class_list":["post-1754","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-pop-up","tag-guides-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Create a Lottie Widget Popup Button - Academy<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Create a Lottie Widget Popup Button - Academy\" \/>\n<meta property=\"og:description\" content=\"Overview Transcript Overview Learn how to use the Lottie Widget as a button and set it to play an animation and open a menu popup, upon clicking it. These subtle animations can make a big difference, really improving the UX and increasing engagement. In this tutorial you\u2019ll learn how to: \u2714\ufe0e Add Lottie Animations via [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/\" \/>\n<meta property=\"og:site_name\" content=\"Academy\" \/>\n<meta property=\"article:published_time\" content=\"2021-06-20T11:28:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-04-30T08:40:11+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"1080\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Hodaya\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Hodaya\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Create a Lottie Widget Popup Button - Academy","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/","og_locale":"en_US","og_type":"article","og_title":"How to Create a Lottie Widget Popup Button - Academy","og_description":"Overview Transcript Overview Learn how to use the Lottie Widget as a button and set it to play an animation and open a menu popup, upon clicking it. These subtle animations can make a big difference, really improving the UX and increasing engagement. In this tutorial you\u2019ll learn how to: \u2714\ufe0e Add Lottie Animations via [&hellip;]","og_url":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/","og_site_name":"Academy","article_published_time":"2021-06-20T11:28:24+00:00","article_modified_time":"2023-04-30T08:40:11+00:00","og_image":[{"width":1920,"height":1080,"url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg","type":"image\/jpeg"}],"author":"Hodaya","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Hodaya","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#article","isPartOf":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/"},"author":{"name":"Hodaya","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/ff9f2661f3df53ae5842a9ad15853d1c"},"headline":"How to Create a Lottie Widget Popup Button","datePublished":"2021-06-20T11:28:24+00:00","dateModified":"2023-04-30T08:40:11+00:00","mainEntityOfPage":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/"},"wordCount":636,"publisher":{"@id":"https:\/\/elementor.com\/academy\/#organization"},"image":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg","keywords":["Guides and Tutorials"],"articleSection":["Pop Up"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/","url":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/","name":"How to Create a Lottie Widget Popup Button - Academy","isPartOf":{"@id":"https:\/\/elementor.com\/academy\/#website"},"primaryImageOfPage":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#primaryimage"},"image":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#primaryimage"},"thumbnailUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg","datePublished":"2021-06-20T11:28:24+00:00","dateModified":"2023-04-30T08:40:11+00:00","breadcrumb":{"@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#primaryimage","url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg","contentUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/06\/Lottie-Widget.jpg","width":1920,"height":1080},{"@type":"BreadcrumbList","@id":"https:\/\/elementor.com\/academy\/how-to-create-a-lottie-widget-popup-button\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Elementor","item":"https:\/\/elementor.com\/"},{"@type":"ListItem","position":2,"name":"Academy","item":"https:\/\/elementor.com\/academy\/"},{"@type":"ListItem","position":3,"name":"Pop Up","item":"https:\/\/elementor.com\/academy\/pop-up\/"},{"@type":"ListItem","position":4,"name":"How to Create a Lottie Widget Popup Button"}]},{"@type":"WebSite","@id":"https:\/\/elementor.com\/academy\/#website","url":"https:\/\/elementor.com\/academy\/","name":"Elementor Academy","description":"Page Builder for WordPress","publisher":{"@id":"https:\/\/elementor.com\/academy\/#organization"},"alternateName":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/02\/Elementor-Logo.png","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/elementor.com\/academy\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/elementor.com\/academy\/#organization","name":"Elementor Academy","alternateName":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2021\/02\/Elementor-Logo.png","url":"https:\/\/elementor.com\/academy\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/#\/schema\/logo\/image\/","url":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2022\/11\/e-logo.svg","contentUrl":"https:\/\/elementor.com\/academy\/wp-content\/uploads\/2022\/11\/e-logo.svg","width":490,"height":85,"caption":"Elementor Academy"},"image":{"@id":"https:\/\/elementor.com\/academy\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/ff9f2661f3df53ae5842a9ad15853d1c","name":"Hodaya","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/elementor.com\/academy\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/324f2d5cff44331b747d766f10e31793b1e29ad4f98f129d409760191f88ccc5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/324f2d5cff44331b747d766f10e31793b1e29ad4f98f129d409760191f88ccc5?s=96&d=mm&r=g","caption":"Hodaya"},"url":"https:\/\/elementor.com\/academy\/author\/hodaya\/"}]}},"_links":{"self":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/1754","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/comments?post=1754"}],"version-history":[{"count":1,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/1754\/revisions"}],"predecessor-version":[{"id":9571,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/posts\/1754\/revisions\/9571"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/media\/9730"}],"wp:attachment":[{"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/media?parent=1754"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/categories?post=1754"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/elementor.com\/academy\/wp-json\/wp\/v2\/tags?post=1754"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}