{"id":2943,"date":"2021-08-08T18:21:27","date_gmt":"2021-08-08T15:21:27","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=2943"},"modified":"2025-07-04T14:28:10","modified_gmt":"2025-07-04T11:28:10","slug":"pop-up-content-block","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/pop-up-content-block\/","title":{"rendered":"Content Blocks &#8211; Pop-ups"},"content":{"rendered":"\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<figure class=\"wp-block-video\"><video height=\"2064\" style=\"aspect-ratio: 3456 \/ 2064;\" width=\"3456\" autoplay loop muted src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2021\/08\/Screen-Recording-2025-07-04-at-14.08.27.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">Creating a Content Block Pop-up.<\/figcaption><\/figure>\n\n\n\n<p>Blocksy\u2019s&nbsp;<strong>Pop-up Content Block<\/strong>&nbsp;gives you the tools to display important messages, promotions, or calls to action in a clean, visually appealing box that appears on the screen based on specific conditions. Think of it as a dynamic overlay, perfect for grabbing your visitors\u2019 attention without disrupting their browsing experience.<\/p>\n\n\n\n<p>Just like other Content Blocks, Pop-ups integrate seamlessly with the\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>, giving you precise control over when and where your message appears \u2014 whether on specific pages, user roles, or other advanced conditions.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started<\/h2>\n\n\n\n<p>Creating a new Pop-up template is quick and intuitive:<\/p>\n\n\n\n<ol start=\"1\" class=\"wp-block-list\">\n<li>Open your\u00a0<strong>WordPress Dashboard<\/strong>.<\/li>\n\n\n\n<li>Go to\u00a0<strong>Blocksy \u2192 Content Blocks<\/strong>.<\/li>\n\n\n\n<li>Click\u00a0<strong>Add New<\/strong>\u00a0at the top.<\/li>\n\n\n\n<li>Choose the\u00a0<strong>Pop-up Template<\/strong>\u00a0option.<\/li>\n<\/ol>\n\n\n\n<p>Once the template is created, you\u2019ll be taken to a blank&nbsp;<strong>Gutenberg canvas<\/strong>, where you can begin building your custom pop-up using blocks, just like any other piece of content.<\/p>\n\n\n\n<figure class=\"wp-block-video\"><video height=\"2056\" style=\"aspect-ratio: 3456 \/ 2056;\" width=\"3456\" autoplay loop muted src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2021\/08\/Screen-Recording-2025-01-30-at-15.56.10.mov\" playsinline><\/video><figcaption class=\"wp-element-caption\">Pop-up options.<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<p>Once your pop-up is created, a range of options becomes available to help fine-tune its behaviour and appearance.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"1490\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2021\/08\/Screenshot-2025-01-30-at-16.19.17.png\" alt=\"\" class=\"wp-image-12500\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h3 class=\"wp-block-heading\">Display Conditions<\/h3>\n\n\n\n<p>This section integrates with the\u00a0<strong><a href=\"https:\/\/creativethemes.com\/blocksy\/docs\/modules\/conditions-module\/\" target=\"_blank\" rel=\"noreferrer noopener\">Conditional Module<\/a><\/strong>, allowing you to decide exactly where and to whom the pop-up should appear \u2014 based on factors like specific pages, user roles, device types, and more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Launch Trigger<\/h3>\n\n\n\n<p>Control how and when the pop-up is activated, once the display conditions are met. Multiple trigger types are available:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On Scroll<\/strong>\u00a0\u2013 Displays the pop-up based on scrolling interaction. Choose between scroll down, scroll up, or scroll to a specific element on the page by targeting a CSS class. You can also set the pixel distance the user must scroll before the pop-up appears.<\/li>\n\n\n\n<li><strong>On Element Click<\/strong> &#8211; Shows the pop-up once a visitor has clicked on an element with a specific CSS class.<\/li>\n\n\n\n<li><strong>On Page Load<\/strong>\u00a0\u2013 Triggers the pop-up immediately once the page has finished loading.<\/li>\n\n\n\n<li><strong>After Inactivity<\/strong>\u00a0\u2013 Detects idle users and triggers the pop-up after a set number of seconds without user interaction.<\/li>\n\n\n\n<li><strong>After X Time<\/strong>\u00a0\u2013 Displays the pop-up after a specific amount of time has passed, regardless of user activity.<\/li>\n\n\n\n<li><strong>After X Pages<\/strong>\u00a0\u2013 Triggers the pop-up once the user has visited a certain number of pages on your site.<\/li>\n\n\n\n<li><strong>On Page Exit Intent<\/strong>\u00a0\u2013 Detects when a visitor\u2019s mouse leaves the viewport (desktop only) and displays the pop-up, ideal for encouraging users to stay.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Relaunch Trigger<\/h3>\n\n\n\n<p>If you\u2019re using automated triggers, you\u2019ll also find an option to\u00a0re-trigger the pop-up after a specific time interval, or all the time.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Close Actions<\/h3>\n\n\n\n<p>Control how the pop-up can be dismissed:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>On Close Button Click<\/strong>\u00a0\u2013 Closes when the standard \u201cX\u201d button is clicked.<\/li>\n\n\n\n<li><strong>On ESC Key Press<\/strong>\u00a0\u2013 Closes when the Escape key is pressed.<\/li>\n\n\n\n<li><strong>On Custom Action<\/strong>\u00a0\u2013 Lets you close the pop-up using specific interactions like:\n<ul class=\"wp-block-list\">\n<li><strong>Form Submit<\/strong>\u00a0\u2013 Automatically closes the pop-up when a form inside it is submitted.<\/li>\n\n\n\n<li><strong>Button Click<\/strong>\u00a0\u2013 Assign a custom CSS class to any element inside the pop-up to make it act as a close trigger.<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Pop-up Animation<\/h3>\n\n\n\n<p>Choose how the pop-up appears on screen. Options include&nbsp;<strong>Fade<\/strong>,&nbsp;<strong>Zoom<\/strong>, or a&nbsp;<strong>Slide effect<\/strong>&nbsp;from any direction for added visual impact.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Load Content with AJAX<\/h3>\n\n\n\n<p>Improve performance on pages with many pop-ups by enabling&nbsp;<strong>AJAX loading<\/strong>. This feature loads pop-up content on demand instead of embedding it into the page by default.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Dynamic Content Preview<\/h3>\n\n\n\n<p>If your pop-up uses dynamic data, this feature lets you preview its content directly inside the Gutenberg editor, ensuring everything looks just right.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pop-up Visibility<\/h3>\n\n\n\n<p>Quickly control which device types the pop-up appears on &#8211; desktop, tablet, or mobile.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Design Controls<\/h2>\n\n\n\n<p>Once the functionality is set, Blocksy also gives you complete control over the pop-up\u2019s visual styling.<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"280\" height=\"1620\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2021\/08\/Screenshot-2025-01-30-at-15.42.13.png\" alt=\"\" class=\"wp-image-12489\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h3 class=\"wp-block-heading\">Pop-up Size<\/h3>\n\n\n\n<p>Choose from three predefined sizes or define your own custom dimensions, including specific settings for different devices.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pop-up Position<\/h3>\n\n\n\n<p>Pick from nine position options to anchor the pop-up exactly where you want on the screen &#8211; top, center, bottom, left, right, and combinations of these.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Scroll Lock<\/h3>\n\n\n\n<p>Enable this to prevent users from scrolling the page behind the pop-up while it\u2019s active.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pop-up Offset<\/h3>\n\n\n\n<p>Set how far the pop-up should sit from the viewport edges.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Shadow<\/h3>\n\n\n\n<p>Add a subtle or strong shadow to the pop-up for depth and emphasis.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Padding<\/h3>\n\n\n\n<p>Define the internal spacing of the pop-up\u2019s content area.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Border Radius<\/h3>\n\n\n\n<p>Easily round the corners of the pop-up container to match your site\u2019s design aesthetic.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Container Overflow<\/h3>\n\n\n\n<p>Determine how the pop-up should handle content that exceeds its defined size &#8211; clip it, scroll, or let it overflow.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Close Button<\/h3>\n\n\n\n<p>Customise the appearance of the close button to ensure it blends well with your overall design.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Pop-up Background<\/h3>\n\n\n\n<p>Choose a background colour for the content area of the pop-up. If none is set via blocks, this background will apply.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Backdrop Background<\/h3>\n\n\n\n<p>Enable this to add a semi-transparent layer behind the pop-up, preventing users from interacting with the rest of the site until the pop-up is dismissed.<\/p>\n<\/div>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h2 class=\"wp-block-heading\">Video Resources<\/h2>\n\n\n\n<p>Want to see it all in action? Visit our video tutorials page for a closer look at working with pop-ups and exploring example implementations.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/blocksy-premium\/the-new-pop-up-content-block\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/blocksy-premium\/the-new-pop-up-content-block\/\" rel=\"noreferrer noopener\"><strong>Exploring the Pop-up Content Block<\/strong><\/a><\/li>\n\n\n\n<li><strong><a href=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/advanced-tutorials\/diving-deep-with-pop-up-content-blocks\/\" target=\"_blank\" data-type=\"URL\" data-id=\"https:\/\/creativethemes.com\/blocksy\/video-tutorials\/advanced-tutorials\/diving-deep-with-pop-up-content-blocks\/\" rel=\"noreferrer noopener\">Diving deeper with pop-ups, exploring example marketing implementation<\/a><\/strong><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Blocksy\u2019s&nbsp;Pop-up Content Block&nbsp;gives you the tools to display important messages, promotions, or calls to action in a clean, visually appealing box that appears on the screen based on specific conditions. Think of it as a dynamic overlay, perfect for grabbing your visitors\u2019 attention without disrupting their browsing experience. Just like other Content Blocks, Pop-ups integrate [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3467,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[120],"class_list":["post-2943","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","doc_categories-modules"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6},"post_title_panel":"","has_hero_section":"default","a6ea8af7118915c2652b553209d72770":"","hero_section":"type-1","hero_elements":[{"id":"custom_title","enabled":true,"heading_tag":"h1","title":"Home"},{"id":"custom_description","enabled":true,"description_visibility":{"desktop":true,"tablet":true,"mobile":false}},{"id":"custom_meta","enabled":true,"meta_elements":[{"id":"author","enabled":true,"label":"By","has_author_avatar":"yes","avatar_size":25},{"id":"post_date","enabled":true,"label":"On","date_format_source":"default","date_format":"M j, Y"},{"id":"categories","enabled":true,"label":"In","style":"simple"},{"id":"comments","enabled":true}],"page_meta_elements":{"joined":true,"articles_count":true,"comments":true}},{"id":"breadcrumbs","enabled":false}],"1005c216a5e0df4ac5d0e1dd93dc8275":"","hero_alignment1":"CT_CSS_SKIP_RULE","hero_margin":40,"hero_alignment2":"center","hero_vertical_alignment":"center","6f8731e9b841af7bf34c279e4f256bbf":"","hero_structure":"narrow","c6abb9b8141bfb06444ed1c04fb73ebd":"","page_title_bg_type":"featured_image","custom_hero_background":{"attachment_id":null},"parallax":{"desktop":false,"tablet":false,"mobile":false},"3106f1e2f6731ed59926cfc967963c68":"","hero_height":"250px","pageTitleFont":{"family":"Default","variation":"Default","size":{"desktop":"32px","tablet":"30px","mobile":"25px"},"line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"CT_CSS_SKIP_RULE","text-decoration":"CT_CSS_SKIP_RULE"},"pageTitleFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"2a26bb6fda812702cc1c35d9259c24bf":"","pageMetaFont":{"family":"Default","variation":"n6","size":"12px","line-height":"1.3","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"uppercase","text-decoration":"CT_CSS_SKIP_RULE"},"pageMetaFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"page_meta_button_type_font_colors":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"page_meta_button_type_background_colors":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"006ae658ee346643c6c4be8fc7d3672e":"","pageExcerptFont":{"family":"Default","variation":"Default","size":"CT_CSS_SKIP_RULE","line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"CT_CSS_SKIP_RULE","text-decoration":"CT_CSS_SKIP_RULE"},"pageExcerptColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"09c558a63a4e774e56914efb09e5afbd":"","breadcrumbsFont":{"family":"Default","variation":"n6","size":"12px","line-height":"CT_CSS_SKIP_RULE","letter-spacing":"CT_CSS_SKIP_RULE","text-transform":"uppercase","text-decoration":"CT_CSS_SKIP_RULE"},"breadcrumbsFontColor":{"default":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"initial":{"color":"CT_CSS_SKIP_RULEDEFAULT"},"hover":{"color":"CT_CSS_SKIP_RULEDEFAULT"}},"0b597f5ab12c19b632d287508585627a":"","pageTitleOverlay":{"default":{"color":"CT_CSS_SKIP_RULE"}},"e4c1230e365f45fe2e74eba17bd711e5":"","pageTitleBackground":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"no-repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"var(--paletteColor6)"}}},"4d22ec8683657bfb37dbdcfd8d8994d4":"","pageTitlePadding":{"top":"50px","bottom":"50px","left":"auto","right":"auto","linked":true},"3ced7a897b4575568957069095a1ceb2":"","page_structure_type":"default","a073b2b033bc43c9e1417d321a399b58":"","content_style_source":"inherit","content_style":"wide","vertical_spacing_source":"inherit","content_area_spacing":"both","background":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"no-repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"CT_CSS_SKIP_RULE"}}},"content_background":{"background_type":"color","background_pattern":"type-1","background_image":{"attachment_id":null,"x":0,"y":0},"gradient":"linear-gradient(135deg,rgba(6,147,227,1) 0%,rgb(155,81,224) 100%)","background_repeat":"no-repeat","background_size":"auto","background_attachment":"scroll","patternColor":{"default":{"color":"#e5e7ea"}},"overlayColor":{"default":{"color":"CT_CSS_SKIP_RULE"}},"backgroundColor":{"default":{"color":"var(--paletteColor8)"}}},"content_boxed_shadow":{"inherit":false,"blur":18,"spread":-6,"v_offset":12,"h_offset":0,"inset":false,"enable":true,"color":{"color":"rgba(34, 56, 101, 0.04)"}},"boxed_content_spacing":{"desktop":{"top":"40px","bottom":"40px","left":"40px","right":"40px","linked":true},"tablet":{"top":"35px","bottom":"35px","left":"35px","right":"35px","linked":true},"mobile":{"top":"20px","bottom":"20px","left":"20px","right":"20px","linked":true}},"content_boxed_radius":{"top":"3px","bottom":"3px","left":"3px","right":"3px","linked":true},"694660bd4827c6a6971e1f8ba2b57a30":"","disable_featured_image":"no","disable_share_box":"no","disable_author_box":"no","disable_posts_navigation":"no","a43dcf9fc27a302211d6bf51b12867b5":"","disable_related_posts":"no","disable_header":"no","disable_footer":"no","8ce4957452054ad763d4e90526fd388c":"","header_footer_scripts_panel":"","header_scripts":"","4cd34efbc1343112760ccb6cc1965d99":"","header_after_body_scripts":"<style>\nfigure > img, figure > video {\n    border: 1px solid rgba(225,225,225,0.50);\nbox-shadow: 0px 0px 50px -30px rgba(0,0,0,0.25);\n\n}\n<\/style>","f7c005d3457fa5dc5fa0d168368df897":"","footer_scripts":"","docs_item_badge":"PRO"},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/2943","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=2943"}],"version-history":[{"count":15,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/2943\/revisions"}],"predecessor-version":[{"id":13643,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/2943\/revisions\/13643"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media\/3467"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=2943"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=2943"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}