Promote your website’s interactivity with our Gutenberg Modal Box Block Tutorial. Premium Block‘s Modal Box Block for Gutenberg introduces a dynamic way to engage visitors with Call to Action (CTA) buttons that reveal modal boxes containing text or other Gutenberg blocks upon activation. From layout settings to trigger options and styling, this guide covers everything you need to create compelling modal content that captures attention.
Modal Box Gutenberg Block Layout Settings
Configure your modal box’s layout with nested blocks for intricate content structures, alongside main settings for triggers and content.
Modal Content block consist of nested blocks.
Customize Modal Box block main settings like trigger and content.
Gutenberg Modal Box Block Trigger Options
Choose from various triggers such as buttons, images, text, Lottie animations, or page load to activate your modal box, with detailed customization for each.
Trigger: Select modal box trigger from button, image, text, Lottie animation or on page load.
Alignment: Align modal box trigger on left, center or right.
Button Trigger for Gutenberg Modal Box
Button text: Set text for modal box trigger button.
Icon: Enable and select icon from font awesome library and dashicon for modal box button.
Icon Position: Set icon position on the before or after of button text.
Button Size: Select button size small, medium, large or block.
Image Trigger for Gutenberg Modal Box
Set image to modal box trigger by uploading or selecting an image from media library.
Text Trigger for Gutenberg Modal Box
Type text as modal box trigger.
Lottie Animation Trigger for Gutenberg Modal Box
You can upload Lottie animations or insert from URL.
Loop: Enable to loop lottie animation forever.
Reverse: Enable to play lottie animation backward.
Only Play on Hover: Enable to play lottie animation on mouseover.
Trigger Gutenberg Modal Box on Page Load
Set value of delay before modal box appears after the page load.
Gutenberg Modal Box Block Content Options
Animation: Set entrance animation for modal box block.
Animation Duration: Set delay between clicking on the trigger and animation start.
Style Settings for Modal Box Gutenberg Block
Personalize your modal box’s appearance with extensive styling options for the trigger, upper close button, and container, ensuring responsiveness across devices.
Triger Style for Gutenberg Modal Box Block
Button Trigger for Gutenberg Modal Box
Icon Size
Icon Spacing
Typography
Color: Set modal text color on normal and hover.
Icon Color: Set icon modal color on normal and hover.
Background Color: Set modal text background color on normal and hover.
Border: Set modal text border on normal and hover.
Box Shadow
Padding
Image Trigger for Gutenberg Modal Box
Size
Border: Set modal Image border on normal and hover.
Box Shadow
Text Trigger for Gutenberg Modal Box
Typography
Color: Set modal text color on normal and hover.
Border: Set modal text border on normal and hover.
Text Shadow
Padding
Lottie Animation Trigger for Gutenberg Modal Box
Size
CSS Filters: Set modal Lottie CSS filter on normal and hover.
Upper Close Button Style for Gutenberg Modal Box Block
Width
Color: Set Upper close button color on normal and hover.
Background Color: Set Upper close button background color on normal and hover.
Border
Padding
Container Style for Gutenberg Modal Box Block
Width
Max Height
Background Type
Outer Background
Box Shadow
Border
Padding
Conclusion
Gutenberg Modal Box Block Tutorial provides a comprehensive roadmap for integrating interactive modal boxes into your website. With its flexible trigger options and customizable content and styling, the Modal Box Block allows you to craft engaging CTAs that resonate with your audience. Whether you’re looking to showcase special offers, gather feedback, or simply captivate your visitors, this tutorial empowers you to create modal content that leaves a lasting impression. Visit the demo page for inspiration and start enhancing your website with dynamic modal boxes today.
Global Features
Help Center
Our Products
About Leap13
Leap13 is a WordPress-focused web development firm specializing in building premium WordPress themes and plugins.