{"id":5594,"date":"2024-04-14T11:52:35","date_gmt":"2024-04-14T03:52:35","guid":{"rendered":"https:\/\/webflow.tenten.co\/?p=5594"},"modified":"2024-04-14T11:52:35","modified_gmt":"2024-04-14T03:52:35","slug":"establish-a-pop-up-with-stationary-positioning","status":"publish","type":"post","link":"https:\/\/webflow.tenten.co\/en\/establish-a-pop-up-with-stationary-positioning\/","title":{"rendered":"Establish a pop-up with stationary positioning"},"content":{"rendered":"\n<div class=\"docs_rich-text w-richtext\">\n<p>We are here to guide you in crafting a pop-up that is slightly unique \u2014 one that is initiated by the user. The user triggers the pop-up animation by clicking a button, revealing a form. (You can always modify the trigger based on your requirements.)<\/p>\n<p><strong>What you will learn in this tutorial:<\/strong><\/p>\n<ol>\n<li>Construct a fixed modal<\/li>\n<li>Integrate a button into your project<\/li>\n<li>Configure the pop-up trigger<\/li>\n<li>Organize the pop-up animation<\/li>\n<li>Configure the closing animation<\/li>\n<\/ol>\n<h2>Construct a fixed modal<\/h2>\n<p>To create an overlay for your content, you can follow these 3 steps:<\/p>\n<ol>\n<li>Develop a pop-up wrapper<\/li>\n<li>Include a form element<\/li>\n<li>Create a &#8220;close&#8221; link<\/li>\n<\/ol>\n<h3>Develop a pop-up wrapper<\/h3>\n<p>To insert a <strong>Div block<\/strong> as the wrapper for the modal, use the keyboard shortcut <strong>A<\/strong> to access the <strong>Add panel<\/strong> (or click the plus icon in the top left corner) and drag a <strong>Div block<\/strong> element into your project.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda70c_5f20c3bfcc6da24136c00b53_6accvalrt8gshomy7m2qdyrric7hoj9ahecuyhal0zwt7a548cvz8fq0571h7j5abb_s4putswbn7u0ejngr4herzvfaydszuo97ztnnywyapnjhgw1xqb92ytsgxx4jxwxthrm_.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda70c_5f20c3bfcc6da24136c00b53_6accvalrt8gshomy7m2qdyrric7hoj9ahecuyhal0zwt7a548cvz8fq0571h7j5abb_s4putswbn7u0ejngr4herzvfaydszuo97ztnnywyapnjhgw1xqb92ytsgxx4jxwxthrm_\"><\/div>\n<\/figure>\n<p>For better organization of your project, position the <strong>Div block<\/strong> at the top of the Body element (while not mandatory, this practice aids in organizing elements). Drag the element into the <strong>Navigator<\/strong> and place it within the <strong>Body element<\/strong>.<\/p>\n<p>Select the <strong>Div block<\/strong>, assign it a class name like \u201cPop-up wrapper\u201d and define style attributes in the <strong>Style panel<\/strong>:<\/p>\n<ul>\n<li>Display: flex<\/li>\n<li>Flex layout: vertical, center, center (to center the form vertically)<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6fa_5f20c3c07b825c944f3b1f73_s_2fr0wpggskpahgywnp3pmosaqkvbowfxbm4k0rx4tdjhzqunwfybzi61ykhgaoam3vhbcq3wq1xnqgyk2h7wt1yfdwcjux36gm87pknn1voaqaexcubyq0heohfpzue3ilhbr8.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda6fa_5f20c3c07b825c944f3b1f73_s_2fr0wpggskpahgywnp3pmosaqkvbowfxbm4k0rx4tdjhzqunwfybzi61ykhgaoam3vhbcq3wq1xnqgyk2h7wt1yfdwcjux36gm87pknn1voaqaexcubyq0heohfpzue3ilhbr8\"><\/div>\n<\/figure>\n<p>Scroll through the <strong>Style panel <\/strong>to configure additional style settings ensuring the wrapper occupies the entire view:<\/p>\n<ul>\n<li>Position: Fixed, full<\/li>\n<li>Z-index: 9999 (to place the wrapper above all other elements in the project)<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda703_5f2b0f3070448f79f81276b5_9xcnxbdyvbxd7mzqdx5bki6up4ykrmvlgxfmnadp1dqqk49zwk-azsjviy_k2gq7kk2bbhnjizfikbl4hsjwqn8tjfkdxasatim0f6tv4op0p7gtwkzqiuh0doxtzdflb61vj0ue.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda703_5f2b0f3070448f79f81276b5_9xcnxbdyvbxd7mzqdx5bki6up4ykrmvlgxfmnadp1dqqk49zwk-azsjviy_k2gq7kk2bbhnjizfikbl4hsjwqn8tjfkdxasatim0f6tv4op0p7gtwkzqiuh0doxtzdflb61vj0ue\"><\/div>\n<\/figure>\n<p>Apply a background color to make the pop-up stand out from the remaining content in your project. Experiment with #000000 and 80% opacity \u2014 or any other background color that suits your project.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda706_5f20c3bf81aba67232339172_fthmrzflljtwlbea77xfquy788zkn-_hrompssm5shfdibc09oyeuulu6pzx67f2rdook3hwhgr4w_k2ka0cpprholspmf2qrwql5emle2u_h22ciscbt1yxq_gbpljyqjzvprjb.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda706_5f20c3bf81aba67232339172_fthmrzflljtwlbea77xfquy788zkn-_hrompssm5shfdibc09oyeuulu6pzx67f2rdook3hwhgr4w_k2ka0cpprholspmf2qrwql5emle2u_h22ciscbt1yxq_gbpljyqjzvprjb\"><\/div>\n<\/figure>\n<h3>Include a form element<\/h3>\n<p>To have a pop-up with a form, you will require a <strong>Form<\/strong> element inside the wrapper.<\/p>\n<p>Select the wrapper, insert a <strong>Form<\/strong> using the Quick Find feature:<\/p>\n<ol>\n<li>Press <strong>Command + E<\/strong> (on Mac) or <strong>Control + E<\/strong> (on PC)<\/li>\n<li>Search for &#8220;form&#8221;<\/li>\n<li>Choose the <strong>Form<\/strong> element and place it within your \u201cPop-up wrapper\u201d (due to the previous styles on the wrapper, the <strong>Form<\/strong> will utilize Flexbox for centering)<\/li>\n<li>Design your form to suit your project (e.g., restrict max-width to 500 pixels and set width to 100%)<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda70f_5f2b0f30c2e87a245be347a8_63qbow-6ut3yqq0ncjqtsm-0aarau99zvbprjqt2rdnb9t-1zstiteiiuxuvckdcl63ddn0sa16_kmkygazi6rbd779v-pqw-v7hdwrh7tbxyhvu-5bvii06zsbbea3wybd7vd9h\"><\/div>\n<\/figure>\n<p><\/p>\n<p>By combining these styles, your form is confined within 500 pixels (max-width) while being responsive across various device sizes (100% width). Learn more about responsive design in Webflow.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda8b1_5f2b0f3019d4371847791f78_qzghvvoosyn70njp7vdo5rb5rb2pnylupa4fmmpngypola22nlwiqvsm7kbo_wnzlf6xz89un0mzxkkjownj-i1qkxll0dxorym2wjd_buhivvbbrpia4mrm0ftsa6kodahntcdd\"><\/div>\n<\/figure>\n<p><\/p>\n<h3>Create a &#8220;close&#8221; link<\/h3>\n<p>Next, let\u2019s insert a text link for users to close the pop-up after submitting the form.<\/p>\n<p>To achieve this, drag a <strong>Text link<\/strong> in the <strong>Navigator<\/strong> to the top of our \u201cPop-up wrapper\u201d (once again, while not mandatory, this practice aids in organizing the elements).<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6e1_5f2b0f3040808457a97a86be_tc0e4f6iyifutgz8yvincapv660jpsxxf3o2vvcf6jr_irsqcolem8vkrmthfkfsgmqcoq0fhzvo_9sst-cr3qvwhughsqcf7tfu4nfud3pt8yt0zofuoeucfulxyd95lds_4d5z\"><\/div>\n<\/figure>\n<p>\u00a0<\/p>\n<p><\/p>\n<p>AndWith the link selected, assign a class name (e.g., Pop-up close) to the link and apply some styling:<\/p>\n<ul>\n<li>Position: Absolute<\/li>\n<li>Top: 5%<\/li>\n<li>Right: 5%<\/li>\n<li>Bottom: Auto<\/li>\n<li>Left: Auto<\/li>\n<\/ul>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6d9_5f2b0f303884db4c608f5f97_qqzurdzyp2ls1_0qkl-hqq829c9psy_vh0vdezczakqf-r5a1ztabd5f45zkmhj0dy8xce4wb5qmeefoy1ch3bz4mu1mjsqjqevbtyxypmbhge_xd13c2-l8jg4nqz5afgcjiv_e.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda6d9_5f2b0f303884db4c608f5f97_qqzurdzyp2ls1_0qkl-hqq829c9psy_vh0vdezczakqf-r5a1ztabd5f45zkmhj0dy8xce4wb5qmeefoy1ch3bz4mu1mjsqjqevbtyxypmbhge_xd13c2-l8jg4nqz5afgcjiv_e\"><\/div>\n<\/figure>\n<p>By utilizing this set of styling, you can keep your close link positioned at the top of the pop-up wrapper.<\/p>\n<p>At this point, all the elements for the pop-up have been created. Proceed to change the display style of the &#8220;Pop-up wrapper&#8221; to <strong>None <\/strong>in order to hide it when it&#8217;s not in use.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda709_5f2b0f3058454d7a32223157_qcpamoptmoptblcsolxd6prbll3qwvuuznhvqjp0nognqiycfd-gbmorkvpp7n1s1ros6ex16eestgzhhxdyb2ogc2fqtxyidchyxo1fgfz80bhog0ze5lwfysfnlstvpt3jvlj3.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda709_5f2b0f3058454d7a32223157_qcpamoptmoptblcsolxd6prbll3qwvuuznhvqjp0nognqiycfd-gbmorkvpp7n1s1ros6ex16eestgzhhxdyb2ogc2fqtxyidchyxo1fgfz80bhog0ze5lwfysfnlstvpt3jvlj3\"><\/div>\n<\/figure>\n<p><\/p>\n<p>To make the opacity of the &#8220;Pop-up wrapper&#8221; 0%, which will prepare you for creating a smooth fade-in animation upon interaction.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6ed_5f2b0f30b79f181fb4922b90_5wfbuslzyqligh2xm80xkdi23vxbiztr_jjtw6wmppf4ldapzeqklmvcbiukgbpvdmokn8ydbpk-go1pu6pgewgiay_whcjtj4difcpfc_v4_gcq5yj5pc_oq66lcimetvmz7n7t.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda6ed_5f2b0f30b79f181fb4922b90_5wfbuslzyqligh2xm80xkdi23vxbiztr_jjtw6wmppf4ldapzeqklmvcbiukgbpvdmokn8ydbpk-go1pu6pgewgiay_whcjtj4difcpfc_v4_gcq5yj5pc_oq66lcimetvmz7n7t\"><\/div>\n<\/figure>\n<h2>Insert a button into your project<\/h2>\n<p>The final step in your project setup involves adding an element, such as a button, to trigger the pop-up when clicked.\u00a0<\/p>\n<p>To incorporate a button:<\/p>\n<ol>\n<li>Press <strong>A<\/strong> on your keyboard to access the <strong>Add panel<\/strong> (or click the + icon on the top-left of the Designer)<\/li>\n<li>Drag a <strong>Button<\/strong> element to the desired location within your project<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6bb_5f20c3c02fef7df48407a89a_fusrb2hp37uniyxi8xrchxavlsbxmu2cvv6hnucxu8muon0x2uhhvhbpduvusgrc7r9dss6f0h9tjkraqj6cd6gypc_a-bgy8-dnllavc5az0zmuwdhy-hsnr2usi4-jrtppt4vz\"><\/div>\n<\/figure>\n<p><\/p>\n<h2>Configure the pop-up trigger<\/h2>\n<p>With the button added to the project, you can now establish an interaction to trigger the pop-up when the button is clicked.<\/p>\n<p>In the past, interactions involved complex JavaScript libraries that required various tools, plugins, and substantial learning curves in coding. With Webflow, we can visually create our pop-up interaction.<\/p>\n<p>To begin, select the button on the canvas. Subsequently, click the Interactions symbol to unveil the Interactions panel<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6b6_5f2b0f3005eb5078f5e9c3b0_advxdzfmghdkoyvs9a7z41unq8kg9r8iryualg12fbs7cjswrkpko685oxbswibihs3mcjuhycclibvi4jcn3htbdpxituj26vrkyskyv3nubq-ana5lv7v4-34k2cceammjxirf\"><\/div>\n<\/figure>\n<p><\/p>\n<p>Within the <strong>Interaction<\/strong> panel, click the + icon for <strong>Element trigger<\/strong>, then opt for the <strong>Mouse click<\/strong> alternative.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6fd_5f2b0f3005eb501547e9c3b1_unwwrzqn76315z5ruwzzljsppfsxozmg2ia2fk_d3lb8sugnl2mvva-tvlyax3rpujz2xapgnt7-t0soyh63dxvfvvrbqgeitbr3flhtr16wbwes22mscjmagumg23csaphgj5h5\"><\/div>\n<\/figure>\n<h2>Establish the pop-up animation<\/h2>\n<p>While Webflow offers a few preset interactions, you will create a customized interaction for unveiling your pop-up. Upon clicking the button, your pop-up will gradually fade-in. To achieve this &#8211; under <strong>On 1st click<\/strong> &#8211; choose the <strong>Action<\/strong> dropdown and select the <strong>Start an animation<\/strong> option. Subsequently, press the + icon to incorporate our timed animation<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6dd_5f2b0f313b248820096b089e_gxhoqkwva9c91ntcwz7fne6lo8hg3ozevf0ixfnuk-ajalvvqpzlfvpgj4fmaipp7qvlpgufijpc1jr45qbsllmsix9ezokmmxberkwbpuj0vmqolg1piqn5zn3resmjn-c4dnt5\"><\/div>\n<\/figure>\n<p>\u00a0<\/p>\n<p>You can now assign a name to your animation (e.g., Pop-up) and then select the element you wish to animate.\u00a0<\/p>\n<blockquote><p><strong>Note<\/strong>: Ensure you choose the element while the Interaction panel is active.<\/p><\/blockquote>\n<p>For this project, choose the &#8220;Pop-up wrapper&#8221; element from the <strong>Navigator<\/strong>. Subsequently, click the + icon beside <strong>Actions<\/strong>, then choose <strong>Opacity<\/strong> (this will initially set the opacity state).<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda700_5f2b0f3145b3bad16c1d72b4_jloneqgl7otsuvuzguaduwyhokjgrc3dbi1-ytrltr5awdx0_kxzslclcsl2md9o-7a1ktvabrcxbgofm942kfbrcot1acxxwrnikczjhzezfi7cjcwnpzhqk_k2pfefxja6bp7t.jpeg\" width=\"auto\" height=\"auto\" loading=\"auto\" title=\"64b94940bbef9ab1bccda700_5f2b0f3145b3bad16c1d72b4_jloneqgl7otsuvuzguaduwyhokjgrc3dbi1-ytrltr5awdx0_kxzslclcsl2md9o-7a1ktvabrcxbgofm942kfbrcot1acxxwrnikczjhzezfi7cjcwnpzhqk_k2pfefxja6bp7t\"><\/div>\n<\/figure>\n<p><\/p>\n<p>First, let&#8217;s consider the timing (notice the timing display at the panel&#8217;s bottom). Start by activating the <strong>Set as initial state<\/strong> toggle, and assign the value to <strong>0%<\/strong>.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6f7_5f2b0f315c67b2568d46542d__yz61i8uzwahnbw_sgx2ttmooebx1urj1ntub4-noankxc6ijdrht57t_edw8zk3i7-7azt3navrkcpxibxfpcbh8mzmd6mzmskr8f0mchchczndvs9hvn1tiwirtsitv_nno5lr\"><\/div>\n<\/figure>\n<p><\/p>\n<p>Next, select the + symbol near <strong>Actions<\/strong>, followed by choosing <strong>Hide\/Show<\/strong> (to display the hidden pop-up &#8211; its opacity remains concealed). Ensure to set the <strong>Display<\/strong> as <strong>Flex<\/strong>.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda8b4_5f2b0f31611b7909bebe8bab_5ldj05m3-zc0ca_3adsdd20nn1gdprq5s75qk7lxozd0pqohpbrc_fgfwjpygohdjldyd1ja6i33agfbv20dljrpoljv5mmuxh65pvfpmevxvwt5bf9gxp6kd_lensba0zclzwbu\"><\/div>\n<\/figure>\n<p><\/p>\n<p>To complete the last task, transition the opacity from 0% to 100%. To execute this, choose the + symbol beside <strong>Actions<\/strong>, then opt for <strong>Opacity<\/strong> (which auto-adjusts it to 100%).<\/p>\n<p>Finally, click the <strong>Done<\/strong> button, and proceed to publish the project. Upon clicking the button now, your pop-up will surface. Although, you cannot close it yet; hence, establish an interaction on the &#8220;Pop-up close&#8221; link.<\/p>\n<h2>Prepare the closure animation<\/h2>\n<p>To construct a closure interaction, initially, target the &#8220;Pop-up close&#8221; link within the <strong>Navigator<\/strong>.<\/p>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6f1_5f2b0f31ddda70702e47756b_ijmdlu-rv8jrnbcmcfsd5jjorptbpzvbhbld7idilzexckbpysbwj-unwilyxbft02kffnggyk33q4jedbgmtlpz4xxthgwynn7boonzyi_xu7bz7dachnocdvnpnwkyuofyd7t3\"><\/div>\n<\/figure>\n<p><\/p>\n<p>Subsequently, introduce the interaction for closing the pop-up once the link is hit.\u00a0<\/p>\n<p>Follow these steps:<\/p>\n<ol>\n<li>Click the <strong>Interaction<\/strong> icon to unveil the <strong>Interaction<\/strong> panel<\/li>\n<li>Choose the <strong>Mouse click<\/strong> option<\/li>\n<li>From the <strong>Action<\/strong> dropdown, select <strong>Start an animation<\/strong><\/li>\n<li>Then, add your timed animation by clicking the + symbol<\/li>\n<li>Label your animation (like, Close pop-up)<\/li>\n<li>In the <strong>Interaction<\/strong> panel, highlight the \u201cPop-up wrapper\u201d element in the <strong>Navigator<\/strong><\/li>\n<li>Include the <strong>Opacity<\/strong> option by selecting the + icon next to <strong>Actions<\/strong><\/li>\n<li>Adjust the opacity to 0%<\/li>\n<li>Add another action by selecting the + icon next to <strong>Actions<\/strong>, then click <strong>Hide\/Show<\/strong><\/li>\n<li>Opt for <strong>None<\/strong> within the <strong>Display<\/strong> setting<\/li>\n<\/ol>\n<figure class=\"w-richtext-figure-type-image w-richtext-align-fullwidth\" data-rt-type=\"image\" data-rt-align=\"fullwidth\" data-rt-max-width=\"1600px\">\n<div><img decoding=\"async\" src=\"https:\/\/webflow.tenten.co\/wp-content\/uploads\/2024\/04\/64b94940bbef9ab1bccda6f4_5f2b0f31ac75d832e54e8261_m8jpbl53puiwf5_9fqpraiwsthz14zerqcnb-9uimacfvlu2ch3m4ucht3jrrjewzig6mawcuxrjkppl-5mhtjdlz6j2gtizk_jhywrfjtcw3vnzosok7uvo7zjmupvif5bazihf\"><\/div>\n<\/figure>\n<p><\/p>\n<p>Finally, click the <strong>Done<\/strong> button, then republish the project to test the pop-up.<\/p>\n<p>Excellent job on developing a pop-up with fixed positioning. Well done!<\/p>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Learn how to trigger a click animation to show a pop-up.","protected":false},"author":2,"featured_media":5182,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"csco_display_header_overlay":false,"csco_singular_sidebar":"","csco_page_header_type":"","footnotes":""},"categories":[284],"tags":[],"class_list":{"0":"post-5594","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-layout-design","8":"cs-entry"},"acf":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/5594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/comments?post=5594"}],"version-history":[{"count":0,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/posts\/5594\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media\/5145"}],"wp:attachment":[{"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/media?parent=5594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/categories?post=5594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webflow.tenten.co\/en\/wp-json\/wp\/v2\/tags?post=5594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}