{"id":825923,"date":"2017-12-10T16:00:05","date_gmt":"2017-12-10T16:00:05","guid":{"rendered":"https:\/\/www.lafactory.com\/blog\/divi-plugin-highlight-divi-bars\/"},"modified":"2022-12-10T13:49:33","modified_gmt":"2022-12-10T13:49:33","slug":"divi-plugin-highlight-divi-bars-2","status":"publish","type":"post","link":"https:\/\/www.lafactory.com\/blog\/en\/divi-plugin-highlight-divi-bars\/","title":{"rendered":"Divi Plugin Highlight: Divi Bars"},"content":{"rendered":"\n
We\u2019ve all seen those message bars at the top or bottom of a website. They usually inform us of the use of cookies, alert us to a sale, or ask us to sign up for the newsletter. There are lots of plugins available to add these bars to your website. What if you could create them with the Divi Builder? You can with a third-party plugin called Divi Bars.<\/p>\n
Divi Bars creates those message bars by allowing you to use Divi layouts. You can include any type of content you want, make them large or small, place them at the top or bottom, have them to scroll or stay in place, and even have them to appear based on a trigger.<\/p>\n
Divi Bars works with Divi and Extra and is available from the publisher\u2019s website<\/a>. I\u2019m using version 1.0.<\/p>\n Upload and activate the plugin as normal.<\/p>\n After activating the plugin you\u2019ll see a message that you need to enter the API Key. Click the link or in the dashboard menu go to Settings<\/em>, Divi Bars Activation<\/em>.<\/p>\n Enter your API key and email, and save changes. You\u2019ll see a message at the top that shows how many activations you have left (this will vary depending on the license you purchase).<\/p>\n In the dashboard menu, go to Divi Bars<\/em>, Settings<\/em>. Here you can input a custom CSS selector and choose the default time zone.<\/p>\n You\u2019ll need to enable the inline output styles. In the dashboard menu go to Divi<\/em>, Theme Options<\/em>, and select the Builder<\/em> tab. Enable the middle option (Output Styles Inline). Be sure to click Save Changes<\/em>.<\/p>\n In the dashboard menu, go to Divi Bars<\/em>, Add New<\/em>. You\u2019ll see a screen like the one above where you can create a Divi Bar. Select the Divi Builder just like creating a page or post. It also has fields where you can select background colors, add triggers, set pages and positions, customize the close button, and set automatic triggers.<\/p>\n Note \u2013 In order to get the bar to display it has to have a trigger. If you leave it set to None<\/em> it will not display. More on this later.<\/p>\n Create layouts as normal. This means you can add any module from the Divi Builder including contact forms, video, shop, images, email optin, map, portfolio, etc. Padding and margins are already removed from the sections and rows so the bar doesn\u2019t take up a lot of space. All of the Divi animation features work as well.<\/p>\n It doesn\u2019t use layouts from the standard Divi Library but you can save your layouts to the Library and reuse them. Only those made for Divi Bars will be available in the Load From Library<\/em> tab.<\/p>\n The Divi Bars Background area lets you choose the color of the background and the font. This only does solid colors with an opacity setting. I recommend using the Divi Builder Sections\u2019 background features, but this is here if you want it.<\/p>\n In Additional Settings you can create your own CSS selector trigger. Dropdown boxes allow you to show the Divi Bars on one page or specific pages, and to choose the position. You can also choose to push the page up or down, and choose if the Divi Bars is fixed.<\/p>\n In Close Button Customizations you can set the number of days the cookie will last, show or hide the close button, and customize the button. Customizations include the text color, background color, font size, border radius, and padding. It provides a preview as you make changes so you can see it in real time.<\/p>\n Automatic Triggers lets you choose how it will display. Each trigger has its own settings. If you leave it set to None<\/em> it will never display.<\/p>\n You can also disable on mobile, display only once on a page load, specify the pages it displays on, and schedule when the bar displays. You can set the starting and ending date and time.<\/p>\n The advantage of using the Divi Builder is how easy it is to create and share templates. Currently Divi Bars has 3 templates. Here\u2019s a look at each. First, here\u2019s how you import them\u2026<\/p>\n Import the templates into the Divi Builder using the Portability Tool<\/em> (the up and down arrows in the right corner of the Divi Builder). Choose Import<\/em>, navigate to your file, and click Import Divi Builder Layout<\/em>.<\/p>\n If you have issues with extra padding in your layouts, you\u2019ll need to add the padding to the section\u2019s Custom CSS in your Divi Bars layout. Go to the Section for your Divi Bars layout and open the Advanced<\/em> tab. Place your custom CSS in the Main Element<\/em> field.<\/p>\n This template includes a single email optin module. I\u2019ve added padding in the Advanced tab.<\/p>\n I\u2019ve set it to push the content down to display the email optin above the menu. It remains on screen as the user scrolls. This uses the Design Agency layout pack.<\/p>\n This is the same example, but now I\u2019ve added a background image.<\/p>\n Countdown and Coupon uses a countdown timer and text module. It includes custom CSS.<\/p>\n I\u2019ve set this one to display at the bottom of the page. This example uses the Business layout pack.<\/p>\n Here\u2019s how it looks with Divi\u2019s default gradient turned 90 degrees. The white bar above the Divi Bars is from the layout.<\/p>\n Divi 3 displays a text module and button. I\u2019ve added the padding in the Advanced tab. It also comes with custom CSS.<\/p>\n Here\u2019s Divi 3 with its blue background and red button.<\/p>\n Here I\u2019ve added the background image from the header and placed a gradient overlay.<\/p>\n I\u2019ve added a Contact Form module with an image. I\u2019ve selected to show it from the bottom as the user reaches a specific range of pixels on the screen. I\u2019ve also styled the close button.<\/p>\n Here\u2019 the contact form within the Design Agency layout pack. I\u2019ve added an overlay and decreased the opacity to allow some of the background to show through. I\u2019ve styled the form\u2019s button to match.<\/p>\n You can use more than one Bar at a time. There are several ways to do this. For example, you can set one for the top and another for the bottom. They could appear at different times, under different circumstances, or at the same time.<\/p>\n Another option is to use the pixel or percentage features. You could show one Bar within the first portion of the screen and another Bar for a different portion of the screen. I don\u2019t recommend having too many at once. If you do use multiple Bars then I recommend keeping them small.<\/p>\n This example uses Divi 3 on the top and Countdown and Coupon on the bottom.<\/p>\n Within the Divi Bars menu is a screen where you can see all of your Divi Bars. Here you can add new, edit, quick edit, and delete your bars. You can also copy the CSS and Menu ID\u2019s to create your own manual triggers.<\/p>\n Divi Bars works the same with Extra as it does with Divi. Here\u2019s a look at my contact form in Extra with the Design Agency layout pack.<\/p>\n There are four licenses available:<\/p>\n Documentation<\/a> is provided at the developer\u2019s website. It includes 6 steps for getting started quickly and a 16 minute video that\u2019s more in-depth. Divi Bars is easy to use but I do recommend watching the video.<\/p>\nInstalling and Activating Divi Bars<\/h2>\n
<\/p>\n
<\/p>\n
Divi Bars Settings<\/h2>\n
<\/p>\n
Enable Output Styles Inline<\/h3>\n
<\/p>\n
Creating a Divi Bar<\/h2>\n
<\/p>\n
Divi Bars Uses the Divi Builder<\/h3>\n
<\/p>\n
Divi Bars Background<\/h3>\n
<\/p>\n
Additional Settings<\/h3>\n
<\/p>\n
Close Button Customizations<\/h3>\n
<\/p>\n
Automatic Triggers<\/h3>\n
<\/p>\n
\n
Divi Bars Templates<\/h2>\n
<\/p>\n
<\/p>\n
Divi Bars Email Optin<\/h3>\n
<\/p>\n
<\/p>\n
<\/p>\n
Divi Bars Countdown and Coupon<\/h3>\n
<\/p>\n
<\/p>\n
<\/p>\n
Divi Bars Divi 3<\/h3>\n
<\/p>\n
<\/p>\n
<\/p>\n
My Divi Bars Example<\/h2>\n
<\/p>\n
<\/p>\n
Using Multiple Divi Bars<\/h2>\n
<\/p>\n
Divi Bars Menu<\/h2>\n
<\/p>\n
Using Divi Bars with Extra<\/h2>\n
<\/p>\n
License and Documentation<\/h2>\n
\n