{"id":15569,"date":"2024-03-24T09:27:36","date_gmt":"2024-03-24T09:27:36","guid":{"rendered":"https:\/\/notificationx.com\/?post_type=docs&#038;p=15569"},"modified":"2025-06-16T05:53:58","modified_gmt":"2025-06-16T05:53:58","password":"","slug":"configure-a-notification-bar-in-gutenberg","status":"publish","type":"docs","link":"https:\/\/notificationx.com\/zh\/docs\/configure-a-notification-bar-in-gutenberg\/","title":{"rendered":"How To Configure A Notification Bar In Gutenberg With NotificationX?"},"content":{"rendered":"<p>Notification Bars on the top of a web page help you display product discounts, announcements, promotions, CTAs, and other critical information. With <a href=\"https:\/\/notificationx.com\/zh\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>NotificationX<\/strong><\/a>, you can easily configure a notification bar in Gutenberg and display your required information or sales promotions on your website for free. Follow the step-by-step guide below to learn how you can do that.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>How To Configure A Notification Bar In Gutenberg With NotificationX?<\/strong><\/h2>\n\n\n\n<p>Before getting started, make sure you have <a href=\"https:\/\/notificationx.com\/zh\/docs\/install-activate-notificationx\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>\u5b89\u88c5\u5e76\u6fc0\u6d3b NotificationX<\/strong><\/a> on your WordPress website.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>\u7b2c 1 \u6b65\uff1a\u6dfb\u52a0\u65b0\u901a\u77e5<\/strong><\/h3>\n\n\n\n<p>\u8f6c\u5230WordPress\u4eea\u8868\u677f\u5e76\u5bfc\u822a\u81f3 <strong>wp-admin \u2192 NotificationX<\/strong>. Then, right at the top, click on \u2018<strong>\u6dfb\u65b0<\/strong>&#039;\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"665\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18.png\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18765\" title=\"\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18.png 1366w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18-300x146.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18-1024x499.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18-768x374.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18-18x9.png 18w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-18-360x175.png 360w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 2: Choose Notification Type<\/strong><\/h3>\n\n\n\n<p>After completing step 1, you will be redirected to the \u2018<strong>\u6765\u6e90<\/strong>\u2019 tab page of your NotificationX. You can also set a title and select \u2018<strong>\u901a\u77e5\u680f<\/strong>\u2019 as your Notification type. Afterward, go ahead &amp; click on the \u2018<strong>\u4e0b\u4e00\u4e2a<\/strong>&#039; \u6309\u94ae\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-26.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18766\" title=\"\"><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 3: Customize The Design<\/strong><\/h3>\n\n\n\n<p>\u6765\u81ea &#039;<strong>\u8bbe\u8ba1<\/strong>\u2019 tab, you can choose a theme and customize it as per your preference. To use a notification bar in Gutenberg,&nbsp; turn the \u2018<strong>\u9ad8\u7ea7\u8bbe\u8ba1\u201d <\/strong>toggle on.&nbsp;<\/p>\n\n\n\n<p>If you do so, you\u2019ll get the option <strong>\u2018Built with Gutenberg\u2019<\/strong>, click on it &amp; you will get all the notification bar design options. Choose the one that you prefer most &amp; click on <strong>\u2018Import.\u2019<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-27.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18767\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>&nbsp;In \u2018<strong>\u8fdb\u9636\u8bbe\u8ba1<\/strong>\u2019 you also get the flexibility to modify the notification bar to reach the maximum potential of it.<\/p>\n\n\n\n<p>\u5728\u4e0b\u9762 <strong>&#039;\u8bbe\u8ba1&#039; <\/strong>option, you can do a lot of customization to make your notification bar stand out. Such as changing the background color and image, making your own button color, countdown background color, countdown text color, closing button color, close button size, and position.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-28.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18768\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>Plus, you can also customize the Link Button, Typography&nbsp; &amp; add Custom CSS to your Gutenberg Notification from this section.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-29.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18769\" title=\"\"><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 4: Customize Your Notification Bar Directly From Gutenberg Editor<\/strong><\/h3>\n\n\n\n<p>To edit everything live, click on <strong>\u2018Edit with Gutenberg\u2019<\/strong> under \u2018<strong>Advanced Design.<\/strong>\u2019 It\u2019ll redirect you to the Gutenberg editor.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1365\" height=\"662\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19.png\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18770\" title=\"\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19.png 1365w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19-300x145.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19-1024x497.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19-768x372.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19-18x9.png 18w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-19-360x175.png 360w\" sizes=\"(max-width: 1365px) 100vw, 1365px\" \/><\/figure>\n<\/div>\n\n\n<p><em>Note: Instead of seeing something like the above images, if you see a few broken blocks, make sure you have the Essential Blocks for Gutenberg installed &amp; activated on your WordPress website.<\/em><\/p>\n\n\n\n<p>Now Gutenberg gives you the flexibility of editing everything in your picked notification bar.&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-30.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18771\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>Click on the portion you want to edit and style the way you want from the right-side control panel. Set your notification bar exactly how you imagined. Once you\u2019re done, revert back to NotificationX dashboard to do a few more customization.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-31.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18772\" title=\"\"><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 5: Set Your Notification Bar Visibility<\/strong><\/h3>\n\n\n\n<p>\u5728\u91cc\u9762 <strong>&#039;\u663e\u793a&#039;<\/strong> tab, you can now configure its settings to choose the location of your site where you want to display your notification bar and for whom you want to display the alert.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-32.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18773\" title=\"\"><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>Step 6: Customize Your Notification Bar As You Prefer<\/strong><\/h3>\n\n\n\n<p>\u4e4b\u540e\uff0c\u53ea\u9700\u4ece <strong>&#039;\u5b9a\u5236&#039;<\/strong> \u9009\u9879\u5361\u5e76\u914d\u7f6e\u901a\u77e5\u680f\u7684\u5916\u89c2\u3001\u65f6\u95f4\u548c\u884c\u4e3a\u3002\u60a8\u53ef\u4ee5\u9009\u62e9\u5728 WordPress \u7f51\u7ad9\u4e0a\u5c55\u793a\u901a\u77e5\u680f\u7684\u4f4d\u7f6e\uff0c\u662f\u5426\u8981\u5728\u79fb\u52a8\u8bbe\u5907\u4e0a\u663e\u793a\u901a\u77e5\u680f\uff0c\u8fd8\u53ef\u4ee5\u9009\u62e9\u662f\u5426\u8981\u6dfb\u52a0\u5173\u95ed\u6309\u94ae\u3002&nbsp;<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-33.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18774\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>\u968f\u7740 <strong>\u2018Targeting\u2019 <\/strong>option, you can target users who will be able to see the bar and who are not. The timing of the notification bar can also be customized from the \u2018Timing\u2019 section.<\/p>\n\n\n\n<p>If you want to hide your bar automatically, you can do that by simply clicking on the <strong>\u2018Auto Hide\u2019<\/strong> option. You have the flexibility of setting the timer for your auto-hiding.<\/p>\n\n\n\n<p>If you want your notification bar will pop up after a few seconds your visitor come to your website, you can set that as well. You can also do this based on your visitor\u2019s scrolling timing here.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"633\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-34.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18775\" title=\"\"><\/figure>\n<\/div>\n\n\n<p>After you have completed all the steps, click on the<strong> &#039;\u53d1\u5e03&#039;<\/strong> \u6309\u94ae\u3002<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1366\" height=\"638\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20.png\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18776\" title=\"\u5982\u4f55\u4f7f\u7528 Elementor \u548c NotificationX 9 \u8bbe\u8ba1\u901a\u77e5\u680f\" srcset=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20.png 1366w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20-300x140.png 300w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20-1024x478.png 1024w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20-768x359.png 768w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20-18x8.png 18w, https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-20-360x168.png 360w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\"><strong>\u6700\u7ec8\u7ed3\u679c<\/strong><\/h2>\n\n\n\n<p>By following these mentioned steps and a bit more modifying, this is how your Notification Bar will appear on your Gutenberg website. For more information on <strong>\u5982\u4f55\u914d\u7f6e\u901a\u77e5\u680f<\/strong>\uff0c \u4f60\u53ef\u4ee5 <a href=\"http:\/\/notificationx.com\/zh\/docs\/notification-bar\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>\u67e5\u770b\u6b64\u8be6\u7ec6\u6587\u6863<\/strong><\/a>.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1350\" height=\"625\" src=\"https:\/\/notificationx.com\/wp-content\/uploads\/2024\/03\/image-35.gif\" alt=\"Configure A Notification Bar In Gutenberg\" class=\"wp-image-18777\" title=\"\u5982\u4f55\u4f7f\u7528 Elementor \u548c NotificationX 10 \u8bbe\u8ba1\u901a\u77e5\u680f\" \/><\/figure>\n<\/div>\n\n\n<p>\u501f\u52a9NotificationX\uff0c\u60a8\u53ef\u4ee5\u8f7b\u677e\u5730\u521b\u5efa\u548c\u8bbe\u8ba1\u4ee4\u4eba\u60ca\u53f9\u7684\u4ea7\u54c1 <a href=\"https:\/\/wpdeveloper.com\/fomo-popup-wordpress\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>\u5e26\u6709Elementor\u7684\u901a\u77e5\u680f<\/strong><\/a> \u5e76\u5728\u6b64\u8fc7\u7a0b\u4e2d\u589e\u52a0\u8f6c\u5316\u3002<\/p>\n\n\n\n<p>\u5361\u4f4f\u4e86\uff1f\u5982\u679c\u60a8\u9047\u5230\u4efb\u4f55\u95ee\u9898\u6216\u7591\u95ee\uff0c\u60a8\u53ef\u4ee5 <a href=\"https:\/\/wpdeveloper.com\/support\/\" target=\"_blank\" rel=\"noreferrer noopener\"><strong>\u8054\u7cfb\u6211\u4eec\u7684\u652f\u6301\u56e2\u961f<\/strong><\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Configure a notification bar in Gutenberg effortlessly with NotificationX. Promote discounts, CTAs &amp; more. Step-by-step guide included!<\/p>","protected":false},"author":28,"featured_media":15574,"template":"","meta":{"_eb_attr":"","inline_featured_image":false,"_eb_data_table":"","_analytify_skip_tracking":false,"footnotes":""},"doc_category":[154],"doc_tag":[517,183,569,568],"class_list":["post-15569","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-configurations","doc_tag-advanced-template","doc_tag-notification-bar","doc_tag-notificationx-in-gutenberg","doc_tag-notificationx-live-alerts-in-gutenberg"],"year_month":"2026-05","word_count":725,"total_views":"19336","reactions":{"happy":"0","normal":"0","sad":"0"},"author_info":{"name":"Abdullah Mamun","author_nicename":"mamun","author_url":"https:\/\/notificationx.com\/zh\/author\/mamun\/"},"doc_category_info":[{"term_name":"Configurations","term_url":"https:\/\/notificationx.com\/zh\/docs-category\/configurations\/"}],"doc_tag_info":[{"term_name":"Advanced Template","term_url":"https:\/\/notificationx.com\/zh\/docs-tag\/advanced-template\/"},{"term_name":"Notification Bar","term_url":"https:\/\/notificationx.com\/zh\/docs-tag\/notification-bar\/"},{"term_name":"NotificationX in Gutenberg","term_url":"https:\/\/notificationx.com\/zh\/docs-tag\/notificationx-in-gutenberg\/"},{"term_name":"NotificationX Live Alerts In Gutenberg","term_url":"https:\/\/notificationx.com\/zh\/docs-tag\/notificationx-live-alerts-in-gutenberg\/"}],"knowledge_base_info":[],"knowledge_base_slug":[],"_links":{"self":[{"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/docs\/15569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/users\/28"}],"version-history":[{"count":4,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/docs\/15569\/revisions"}],"predecessor-version":[{"id":18778,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/docs\/15569\/revisions\/18778"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/media\/15574"}],"wp:attachment":[{"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/media?parent=15569"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/doc_category?post=15569"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/notificationx.com\/zh\/wp-json\/wp\/v2\/doc_tag?post=15569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}