Header & Navbar

Customize the header and navigation bar of your website.

The header contains the site logo, main navigation, search and other typical header elements. It is visible on every page of your website. Optionally, the header can be replaced by a mobile header on smaller devices.

The following settings can be found in the Layout → Header panel of YOOtheme Pro.


Header Layout

Positions

Select the layout for the logo, navbar and header positions. Some layouts can split or push items of a position which are shown as ellipsis.

Position Color Description
Logo Black Displays the logo as well as the logo module position
Navbar Green Displays the navbar menu and module positions
Header Purple Displays the header menu and module positions

Learn how to publish menus and modules in the menus and modules documentation.

Horizontal Layouts

The logo as well as the navbar and header positions are displayed side by side, from left to right with different alignments.

Horizontal Left

Horizontal Left

Horizontal Center

Horizontal Center

Horizontal Right

Horizontal Right

Horizontal Justify

Horizontal Justify

Horizontal Center Logo

Horizontal Center Logo

Stacked Center Layouts

The logo as well as the navbar and header positions are displayed above each other and are centered horizontally. In the Stacked Center C layout the header position is split and aligned to the left and right while the logo is placed in the middle. In both Stacked Center Split layouts the menu items of the navbar are split, and the logo is placed in the middle.

Stacked Center A

Stacked Center A

Stacked Center B

Stacked Center B

Stacked Center C

Stacked Center C

Stacked Center Split A

Stacked Center Split A

Stacked Center Split B

Stacked Center Split B

Stacked Left and Justified Layouts

The logo and the header position are displayed on the left and right while the navbar is shown below.

Stacked Left

Stacked Left

Stacked Justify

Stacked Justify

Split Items

The Stacked Center C and both Stacked Center Split layouts have an option to set the number of items after which their items are split. For example, this may be needed if menu items have different length or additional modules are published in the position.

Split items

Push Items

The Stacked Left layout has an option to push modules published in the navbar position to the right of the layout. Just set the number of items after which the following items are pushed to the right.

Push items

Max Width

Set the maximum content width for the header and navbar. Choose between the Default, Small, Large and X-Large to set a fixed max width. The Expand option expands the header to the full width of the viewport keeping a small padding to the left and right. Optionally, the logo padding can be removed for layouts where logo is positioned on the left, for example, for logos with colored backgrounds.

Max width


There are three options available to control the navbar position and its behavior.

Option Description
Static The navbar will move out of the viewport on scrolling.
Sticky The navbar will stick at the top of the viewport on scrolling.
Sticky on scroll up The navbar will move out of the viewport when scrolling down, and it will become sticky on scrolling up

Navbar options

Note If you have a transparent navbar, the Sticky navbar will show up once you have scrolled bellow the hero section, and it will hide when the hero section comes into the viewport.

Additionally, choose between the default and primary navbar style.

Navbar style


Align the dropdown to the Left, Right or Center. By default, the dropdown is aligned to the navbar item. Optionally, align it to the whole navbar. This may be useful for large dropdowns.

There are additional options for the dropdown.

Option Description
Enable Dropbar Optionally show the dropdowns in a full-width section called dropbar.
Show parent icon Show a small icon to indicate the navbar item has a dropdown.
Click mode Navbar items which contain only text (without a link) can show the dropdown on click instead of hover. Learn how to create a text menu item in Joomla.

Dropdown options

Note Each menu item has further dropdown options to set the number of columns, its width and alignment, and to create mega menu dropdowns with the YOOtheme Pro page builder.


Dialog Layout

In addition to the header layout, YOOtheme Pro can display menus and modules published in the dialog module position in a dropbar, offcanvas sidebar or modal window. The dialog is opened by clicking a toggle icon which automatically appears in the header.

Select the layout for the dialog position. Items which can be pushed are shown as ellipsis.

Dropbar Layouts

The dropbar stretches to the full width and height of the viewport but does not overlay the navbar. Navbar items remain clickable when the dropbar is open. Items are displayed at the top or in the center of the dropbar.

Offcanvas Layouts

The offcanvas sidebar overlays the navbar. Items are displayed at the top or in the center of the offcanvas sidebar.

Offcanvas Top

Offcanvas Top

Offcanvas Center

Offcanvas Center

The modal window overlays the navbar. Items are displayed at the top or in the center of the modal window.

Modal Top

Modal Top

Modal Center

Modal Center

Alignment

All layouts have an additional option to center their content horizontally.

Alignment

Dialog Push Items

Dialog layouts have an option to push modules published in the dialog position to the bottom of the layout. Just set the number of items after which the following items are pushed to the bottom.

Push items

Dialog Toggle

Select the position for the dialog toggle. Optionally, show the Menu text next to the icon.

Dialog toggle

Dropbar Animation

There are additional options for the Dropbar layouts.

Option Description
Fade The dropbar fades in.
Slide Top The dropbar slides in from the top revealing its content.
Slide Left The dropbar and its content slide in from the left.
Slide Right The dropbar and its content slide in from the right.

If the dropbar slides in from the right or left, optionally set the dropbar width.

Dropbar animation

Offcanvas Mode

There are additional options for the Offcanvas layouts.

Option Description
Slide The offcanvas bar slides on top of the page content.
Reveal The page content moves out of the viewport revealing the offcanvas bar underneath it.
Push The offcanvas bar pushes the page content out of the viewport.

Additionally, display an overlay to prevent navigating and scrolling the page when the offcanvas sidebar is open. Define if the offcanvas sidebar opens on the left or right.

Offcanvas mode

There is an additional option for the Modal layouts to define the width of the modal content.

Modal width


YOOtheme Pro allows publishing the search without having to create a Joomla module. Display the search in the start or end of the navbar, header or dialog positions or at the end of the logo position. Alternatively, publish a search module on any available theme position.

Search

Search Style

Choose between the Default and Modal search style. The Modal style only displays an icon. Clicking the icon will open a fullscreen modal with the search input box. This style is not available in the dialog module position.

Search style


Social Icons

Display the social icons in the start or end of the toolbar-left, toolbar-right, navbar, header or dialog positions or at the end of the logo position.

Click Edit Links to add up to five social profile links. A corresponding UIkit brand icon will be displayed automatically if available. There are also icons for the email address, the phone number and Google Maps.

Link Type Description
Brands Enter the link to your social media profile.
Email Enter the link to your email address by using mailto:.
Telephone Enter the link to your phone number by using tel:.
Map Enter the link to Google Maps.

Define if the links should Open in a new window and whether to Display icons as buttons.

Social icons

Social Icons Style

There are two additional options to style the social icons.

Option Description
Social Icons Size Set the icon size in pixel.
Social Icons Gap Set the size of the gap between the social icons.

Social icons settings

YOOtheme Pro Documentation