Off-Canvas navigation is the need of the hour! It is an attractive way to display a navigation menu and possible to be triggered by a button/icon/Custom class/ID. With Ultimate Addons for Beaver Builder, showcasing such a vertical Off-Canvas menu is made easy.
UABB offers the Off-Canvas module that has an inbuilt option to display the navigation menu. Read about all available options here.
Below are the steps to create Off-Canvas menu for Beaver Builder –
Step 1 – Drag and drop UABB’s Off-Canvas module.
Step 2 – Go to General -> Content Type, select Menu. All WordPress menus will appear in the list. Choose the required menu.
Step 3 – Now go to Display Settings and choose Display On – Button/ Icon / Custom Class / Custom ID.
And you are done! 🙂
In the frontend, clicking on the trigger (Button/ Icon / Custom Class / Custom ID) will open an Off-Canvas navigation menu. You can customize it with the rest of the available options with the Off-Canvas module.
Bonus Content: How to create an Off-Canvas similar to the Modules tab on our site?
Step 1: Add Title Attribute to the Menu items from the Menus under the WordPress Dashboard. You can find this option under the Appearance -> Menus
Step 2: Paste the below CSS in the Beaver Builder’s Global Settings under CSS section and it will render the Title Attribute of the Menu items on the Off-canvas –
.uabb-offcanvas-menu li.custom-class>a[title]:after { background: #2ecc71; }
.uabb-offcanvas-menu li>a[title]:after {
color: #fff;
font-size: 0.7em;
font-weight: 600;
position: relative;
content: attr(title);
padding: 0.3em 0.6em;
top: -2px;
left: 12px;
letter-spacing: 0.5px;
line-height: 1em;
background-color: #f7b91a;
text-transform: uppercase !important;
border-radius: 2px;
}
Note: The class custom-class is added from the Screen Options under CSS classes for respective menu items which requires a specific color,
You can change the background color and other settings as per your requirements.
Step 3: Publish the CSS and find the Tags as displayed on your Off-Canvas. 🙂