{"id":29,"date":"2026-10-21T18:36:14","date_gmt":"2026-10-21T18:36:14","guid":{"rendered":"http:\/\/bytekeel-popup-demos.test\/demos\/modal\/"},"modified":"2026-11-22T07:44:03","modified_gmt":"2026-11-22T07:44:03","slug":"modal","status":"publish","type":"page","link":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/modal","title":{"rendered":"Enquiry form in a centre modal"},"content":{"rendered":"<div class=\"et_pb_section_0 et_pb_section et_section_regular et_flex_section bks-raw\"><div class=\"et_pb_row_0 et_pb_row et_flex_row\"><div class=\"et_pb_column_0 et_pb_column et-last-child et_flex_column et_pb_css_mix_blend_mode_passthrough et_flex_column_24_24 et_flex_column_24_24_tablet et_flex_column_24_24_phone\"><div class=\"et_pb_code_0 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\"><div class=\"bks\"><div class=\"bkx bkx-hero\"><section class=\"relative overflow-hidden bg-dark-gradient pb-16 text-white md:pb-20 bk-s-823598d2\"><div class=\"grid-bg absolute inset-0 opacity-60\" aria-hidden=\"true\"><\/div><div class=\"absolute -right-32 -top-32 h-96 w-96 rounded-full bg-primary\/30 blur-3xl\" aria-hidden=\"true\"><\/div><div class=\"absolute -bottom-40 -left-24 h-80 w-80 rounded-full bg-secondary\/10 blur-3xl\" aria-hidden=\"true\"><\/div><div class=\"container relative\"><nav class=\"bkx-crumbs\" aria-label=\"Breadcrumb\"><ol><li><a href=\"#bk-main\/products\/divi-smart-popup\">Divi Smart Popup<\/a><\/li><li><span aria-hidden=\"true\">\/<\/span><a href=\"\/products\/divi-smart-popup\/demos\/\">Demos<\/a><\/li><li><span aria-hidden=\"true\">\/<\/span><span aria-current=\"page\">Enquiry form in a centre modal<\/span><\/li><\/ol><\/nav><p class=\"mb-4 inline-flex items-center gap-2 rounded-full border border-white\/15 bg-white\/5 px-3 py-1 text-xs font-bold uppercase tracking-wider text-primary-200\">Live demo<\/p><h1 class=\"h-display max-w-3xl text-white\">Enquiry form in a centre modal<\/h1><p class=\"mt-5 max-w-2xl text-lg text-primary-100\/80\">A project enquiry opens in a centre modal when a visitor asks to discuss a project, so they keep their place: a Divi Contact Form inside Divi Smart Popup.<\/p><div class=\"bkx-hero__badges\"><span class=\"bkx-badge bkx-badge--dark\">Element click<\/span><span class=\"bkx-badge bkx-badge--dark bkx-badge--muted\">centre<\/span><\/div><\/div><\/section><\/div><\/div><\/div><\/div><\/div><\/div><\/div><div class=\"et_pb_section_1 et_pb_section et_section_regular et_flex_section bks-raw\"><div class=\"et_pb_row_1 et_pb_row et_flex_row\"><div class=\"et_pb_column_1 et_pb_column et-last-child et_flex_column et_pb_css_mix_blend_mode_passthrough et_flex_column_24_24 et_flex_column_24_24_tablet et_flex_column_24_24_phone\"><div class=\"et_pb_code_1 et_pb_code et_pb_module\"><div class=\"et_pb_code_inner\"><div class=\"bks\"><section class=\"bks-section bks-section--tight bks-section--ruled\"><div class=\"bks-container\"><div class=\"bks-grid bks-grid--sidebar\"><div class=\"bks-stack bks-stack--8\"><figure class=\"bks-figure\"><div class=\"bks-figure__frame\"><div class=\"bks-thumb\"><img width=\"1200\" height=\"750\" src=\"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-content\/uploads\/2026\/10\/pe-demo-thumb-modal.jpg\" class=\"bks-thumb__img\" alt=\"The project enquiry form open in a centre modal over the Northline services page\" sizes=\"(min-width: 1216px) 760px, 92vw\" loading=\"eager\" decoding=\"async\" fetchpriority=\"high\" srcset=\"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-content\/uploads\/2026\/10\/pe-demo-thumb-modal.jpg 1200w, https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-content\/uploads\/2026\/10\/pe-demo-thumb-modal-980x613.jpg 980w, https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-content\/uploads\/2026\/10\/pe-demo-thumb-modal-480x300.jpg 480w\" \/><\/div><\/div><figcaption><span><span class=\"bks-live-dot\" aria-hidden=\"true\"><\/span><span><strong>Live on this page.<\/strong> A screenshot of the real campaign, designed with Divi modules. Use the buttons below to open it here.<\/span><\/span><a class=\"bks-link\" href=\"#d5pe-open-12\">Open the popup<\/a><\/figcaption><\/figure><div class=\"bks-try bks-stack bks-stack--3\"><h2 class=\"bks-h4\">Try it on this page<\/h2><p class=\"bks-body bks-muted\">This campaign has no automatic trigger. It opens only when you ask for it.<\/p><div class=\"bks-cluster\"><span class=\"bks-tip\"><a class=\"bks-btn bks-btn--primary nl-discuss\" href=\"#\" aria-describedby=\"bks-tip-modal-0\"><span class=\"bks-btn__roll\"><span class=\"bks-btn__rolltext\">Discuss your project<\/span><span class=\"bks-btn__rolltext\" aria-hidden=\"true\">Discuss your project<\/span><\/span><\/a><span class=\"bks-tip__bubble\" role=\"tooltip\" id=\"bks-tip-modal-0\">Uses the campaign\u2019s own click trigger: any element with the .nl-discuss class opens the enquiry form.<\/span><\/span><\/div><\/div><div class=\"bks-stack bks-stack--4\"><h2 class=\"bks-h2\">The goal<\/h2><p class=\"bks-body bks-muted\">Turn interest on a services page into a written enquiry, without sending the visitor to a separate contact page.<\/p><\/div><div class=\"bks-stack bks-stack--4\"><h2 class=\"bks-h2\">How it is built<\/h2><ul class=\"bks-stack bks-stack--3 bks-checks\"><li><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"square\" stroke-linejoin=\"miter\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M4 12.5 9.5 18 20 6.5\"><\/path><\/svg><span>Click trigger on the CSS class <code>.nl-discuss<\/code>: any button or link with that class opens it<\/span><\/li><li><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"square\" stroke-linejoin=\"miter\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M4 12.5 9.5 18 20 6.5\"><\/path><\/svg><span>Text links open the same campaign with the built-in <code>#d5pe-open-12<\/code> link format<\/span><\/li><li><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"square\" stroke-linejoin=\"miter\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M4 12.5 9.5 18 20 6.5\"><\/path><\/svg><span>A Divi Contact Form inside the popup; a successful submission counts as the response<\/span><\/li><li><svg width=\"18\" height=\"18\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.6\" stroke-linecap=\"square\" stroke-linejoin=\"miter\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M4 12.5 9.5 18 20 6.5\"><\/path><\/svg><span>After a response it shows a confirmation and closes itself six seconds later<\/span><\/li><\/ul><\/div><\/div><div class=\"bks-stack bks-stack--6 bks-sticky\"><div class=\"bks-plate bks-stack bks-stack--4\"><h2 class=\"bks-h4\">Settings<\/h2><dl class=\"bks-deflist\"><div class=\"bks-deflist__row\"><dt class=\"bks-deflist__key\">Placement<\/dt><dd class=\"bks-deflist__val\">Centre modal, 640px<\/dd><\/div><div class=\"bks-deflist__row\"><dt class=\"bks-deflist__key\">Entrance<\/dt><dd class=\"bks-deflist__val\">Zoom in, 280ms<\/dd><\/div><div class=\"bks-deflist__row\"><dt class=\"bks-deflist__key\">Dismissal<\/dt><dd class=\"bks-deflist__val\">Escape, backdrop, or close control<\/dd><\/div><div class=\"bks-deflist__row\"><dt class=\"bks-deflist__key\">Frequency<\/dt><dd class=\"bks-deflist__val\">Every time it is asked for<\/dd><\/div><\/dl><\/div><div class=\"bks-plate bks-plate--inset bks-stack bks-stack--3\"><h2 class=\"bks-h4\">Next demo<\/h2><p class=\"bks-body bks-muted\">Video slide-in after a long read<\/p><a class=\"bks-link\" href=\"\/products\/divi-smart-popup\/demos\/slide-in\">Open it<\/a><\/div><a class=\"bks-btn bks-btn--primary bks-btn--block\" href=\"#bk-main\/products\/divi-smart-popup#pricing\"><span class=\"bks-btn__roll\"><span class=\"bks-btn__rolltext\">Buy Divi Smart Popup<\/span><span class=\"bks-btn__rolltext\" aria-hidden=\"true\">Buy Divi Smart Popup<\/span><\/span><\/a><\/div><\/div><\/div><\/section><\/div><\/div><\/div><\/div><\/div><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-29","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/pages\/29","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/comments?post=29"}],"version-history":[{"count":16,"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/pages\/29\/revisions"}],"predecessor-version":[{"id":507,"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/pages\/29\/revisions\/507"}],"wp:attachment":[{"href":"https:\/\/bytekeel.com\/products\/divi-smart-popup\/demos\/wp-json\/wp\/v2\/media?parent=29"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}