Navigation module with Sidebars

Add support for Sidebars in Navigation Module

It is possible to add sidebar(s) in a Navigation Module by adding the following in child theme's functions.php :

add_theme_support( 'builder-navigation-module-sidebars');

Note: This is presently an experimental feature. As such the graphic representing the Navigation Module in layout manager will not change to reflect the presence and arrangement of sidebar(s).

Below is an example of using this to add social media icons floating to the right in the nav bar.

But first the result:

In the backend:

With Social Media Widget plugin installed and activated, its widget has been placed in the Navigation Module's sidebar.

and this CSS added at end of child theme's style.css:

.builder-module-navigation .builder-module-sidebar {
  background: transparent;
  padding-top: 0;
  padding-bottom: 0;
}
 
.builder-module-navigation .widget {
  padding: 0;
  padding-right: 0.5em;
}
 
.builder-module-navigation .widget a {
  display: inline;
}
 
.socialmedia-buttons img {
  padding-top: 0.5em;
}
Have more questions? Submit a request