Customize the header and navigation bar of your website for mobile devices.
Optionally, replace the default header by a mobile version on smaller devices. The header contains the site logo, the menu toggle to display the navigation and other typical header elements.
The following settings can be found in the Layout → Mobile panel of YOOtheme Pro.
Define the device size at which the desktop header is replaced with the mobile header. The breakpoint depends on the number and size of navbar items. Use the device preview buttons to see how the site looks on different device widths.
|Do not show the mobile header.
|Show the mobile header if the device width is below 640px.
|Show the mobile header if the device width is below 960px.
|Show the mobile header if the device width is below 1200px.
Select the layout for the mobile logo, navbar and header positions.
|Displays the logo as well as the
logo-mobile widget area
navbar-mobile menu location and widget area
header-mobile menu location and widget area
Optionally, remove the logo padding for layouts where logo is positioned on the left, for example, for logos with colored backgrounds.
The logo as well as the navbar and header positions are displayed side by side, from left to right with different alignments.
There are three options available to control the mobile navbar position and its behavior.
|The navbar will move out of the viewport on scrolling.
|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
Note If a transparent header is set on a section, 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.
Make the header transparent and overlay the background of the site on all pages and even when it's sticky. The header will automatically change its text color depending on its background. Optionally, color navbar parts separately.
In addition to the header layout, YOOtheme Pro can display menus and widgets published in the mobile dialog widget area in a dropbar, offcanvas sidebar or modal window. The dialog is opened by clicking a toggle icon which automatically appears in the mobile header.
Select the layout for the
dialog-mobile position. Items which can be pushed are shown as ellipsis.
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.
The offcanvas sidebar overlays the navbar. Items are displayed at the top or in the center of the offcanvas sidebar.
The modal window overlays the navbar. Items are displayed at the top or in the center of the modal window.
All layouts have an option to center their content horizontally. Additionally, show or hide the close button for the offcanvas and modal layouts.
Dialog layouts have an option to push widgets published in the mobile dialog area to the bottom of the layout. Just set the number of items after which the following items are pushed to the bottom.
Select the position for the dialog toggle. Optionally, show the Menu text next to the icon.
There are additional options for the Dropbar layouts.
|The dropbar fades in.
|The dropbar slides in from the top revealing its content.
|The dropbar and its content slide in from the left.
|The dropbar and its content slide in from the right.
There are additional options for the Offcanvas layouts.
|The offcanvas bar slides on top of the page content.
|The page content moves out of the viewport revealing the offcanvas bar underneath it.
|The offcanvas bar pushes the page content out of the viewport.
Additionally, define if the offcanvas sidebar opens on the left or right.
There is an additional option for the Modal layouts to define the width of the modal content.
YOOtheme Pro allows publishing the search without having to create a WordPress widget. Display the search in the start or end of the
dialog-mobile area or at the end of the
logo-mobile area. Alternatively, publish a search widget on any available theme area.
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-mobile widget area.
Display the social icons in the start or end of the
dialog-mobile areas or at the end of the
Click the Edit Items button to add social icons. Each item has a Link, Icon and Image fields. If available, a corresponding UIkit brand icon will be displayed automatically. Links to Google Maps, email addresses and phone numbers, like
tel:+491570156, are also supported. Alternatively, pick a different icon or an SVG image.
Define if the links should Open in a new window and whether to Display icons as buttons. Optionally, make SVG images stylable with CSS.