|
↳ See all 15 articles
/ Documentation /Customizer Settings/Header & Footer/ How to Create a Mobile Menu

How to Create a Mobile Menu

A mobile menu is a special type of menu designed specifically for small screens like smartphones and tablets. This is the hamburger icon that readers can click on and use to navigate different sections of your website.

It is important to ensure that your website delivers a consistent user experience on any device.

Astra Header Builder provides a dedicated option to design a mobile menu.

Here’s your comprehensive guide to building a mobile menu with the Astra theme, which allows your website visitors to effortlessly navigate your site on their smartphones.

Creating a Mobile Menu

To create a mobile menu in Astra, you can follow these steps:

Log in to your WordPress dashboard and navigate to Appearance > Customize.

Within the Customizer, find the section labeled Header.

Switch to Mobile View in the Customizer: You will observe a separate dedicated box for a mobile view in the visual header builder.

The off-Canvas section allows you to configure header items inside the toggle button. Usually, you would have your logo and toggle button in your Primary header here, but there are no limits to where you can place elements in your mobile header.

Click on the + icon to add a mobile menu.

Select the Off-Canvas Menu option to add a mobile menu.

A new option named Off Canvas Menu will be visible in the side menu. Access this option to customize your mobile menu settings.

You will find some options in the General section including the option to enable Item Divider. This adds a line between each menu item, separating them for a better look.

You will find all the color and appearance options in the Design tab.

Once satisfied, click the Publish button to make your changes live on your website.

After publishing, test the mobile menu on different devices to ensure it displays correctly and functions properly on mobile devices.

By following these steps, you can easily create a mobile menu in Astra and optimize your website for mobile users.

To expand the submenu on the mobile menu by clicking the menu label as well as the down arrow icon. Here’s how:

  1. Go to Appearance → Customize in your WordPress dashboard
  2. Navigate to Header → swtich to the Mobile View section by clicking on the bottom left corner
  3. Click on the OFF CANVAS gear icon
  4. Find the Dropdown Target option
  5. Change it to Link

If you choose Icon, the submenu dropdown will open with the click of a small arrow icon beside the menu item name.
And if you choose Link, the submenu dropdown will open with the click of an entire menu item (link).

That’s it! Once set to Icon, clicking on the menu item label itself will expand the submenu — not just the arrow icon.

Important Note:

Please note that installing a third-party plugin may hamper your Website Design. We strongly recommend taking a backup of your website before installing the plugin. Here is an article that will guide you through the process of taking a quick backup of your website.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Scroll to Top