The Navigation Module offers a number of options for adding navigation elements to your Layout. To get the most power out of this feature, use WordPress' built-in Menu Editor to create your menus. You can then select to use one of these menus in the Navigation Module Settings.
Adding the Navigation Module
To add a Navigation Module to your Layout, click Add Module and select the Header Module from the list of available Modules.
Navigation Module Settings
Once the Navigation Module has been selected and added to the Layout, the Modify Navigation Module Settings box will appear. Customize the settings of the Navigation Module by selecting from the following options.
Available Navigation Module settings include:
- Name - To help identify widget locations
- Navigation Type - A populated list of your WordPress Menus or Legacy Menu Types, such as Builder Settings categories, pages or WordPress pages
- Style - **Varies by theme** - If the active theme (theme design) provides Alternate Module Style options for this module, select the desired style.
Click the Save button to save the Navigation Module Settings. You'll now see the Navigation Module added to your Layout, denoting the type of navigation used by the Module.
Advanced Notes
The Legacy Menu Types are present as a fallback in case you have not configured any menus in the Menu Editor. The Builder menu types can be configured in the Builder's Theme Settings. The WordPress Pages option uses WordPress' built-in wp_list_pages
function to show a listing of all of your site's pages.
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, see the release notes for more details: http://ithemes.com/codex/page/Builder/Release_Notes/3.0.0
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 with BuilderChild-Default as the active theme.
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; }
Generic CSS Class
.builder-module-navigation