Mobile Header with Astra

Astra version 1.4.0 and above provides a feature to design Mobile Header separately for responsive devices.

It offers options to adjust Header Breakpoint, set different Logo, choose different Menu Styles, set Colors separately for the menu.

Mobile Header Options with Astra Theme

From your WordPress dashboard navigate to Appearance > Customize > Layout > Header. Mobile Header options are listed under different tabs.

Logo (optional)

The desktop screen needs a quite wider logo. This logo on mobile might hide the big part of the viewport. Separate option for mobile logo provides flexibility to use a different menu on mobile.
The setting can be found under Layout > Header > Site Identity. Choose option Different Logo for mobile devices? and add a mobile device logo image here. (?)
To adjust the size for the logo click on the responsive toggle button for Logo Width and adjust the width.

Menu Breakpoint

The setting can be found under Layout > Header > Primary Header > MOBILE HEADER.
The default menu breakpoint for Astra is 921px. It can be changed easily with the slider.
For example – If a breakpoint is set to 554px then the desktop header will be visible till 554px width and it will change to mobile header below 554px.

Toggle Button Style, Toggle Button Color, and Border Radius

Settings can be found under Layout > Header > Primary Header > MOBILE HEADER.
Style the toggle button with these settings. (?)

Menu Label on Small Devices

The setting can be found under Layout > Header > Primary Header > MOBILE HEADER.
It allows adding a label to toggle button and highlight it. (?)

Mobile Header Alignment

It allows choosing the alignment of logo and menu on devices below breakpoint. (?)


Mobile Header Options with Astra Pro

Mobile Header module from Astra Pro adds more option to layout along with Colors & Background options.

Activate the module from dashboard under Appearance >Astra Options > Mobile Header.After activating the module additional options will be added under Appearance > Customize > Layout > Header > Primary Header > MOBILE HEADER.

Menu Style

Choose a style for the menu which appears on the click of the toggle button.

  • Flyout style will allow the menu to slide from either end of the screen. (?)
  • Full-Screen style will cover the whole screen and display menu item in the middle. (?)
  • No Toggle style will not display the menu inside the hamburger menu on responsive devices. The menu will appear same as desktop. (?)

Border for Menu Items

It will apply a border around each menu item. Set a width to the border and then apply a color.


Colors & Background for Mobile Header

Colors & Background module from Astra Pro provides more Colors & Background options for Mobile Header.
You would need to activate Colors & Background and Mobile Header modules from Appearance >Astra Options.

Settings can be found under Appearance > Customize > Colors & Background > Header > Primary Header.

Click on the responsive toggle button and set the colors and background for the Mobile Header.

Background

Set Background Color for Mobile Header or set Background Image and adjust the opacity. (?)

Primary Menu and Submenu

If either of the Menu Style – Flyout or Full-Screen is selected, you can set the background image and overlay color for a menu with Primary Menu background image. (?)

Not the solution you are looking for? Check other articles, or open a support ticket.