---
url: https://docs.artemsemkin.com/velum/wp/header-menus/styling-the-burger-menu.md
description: >-
  Change the font size, colors, background and spacing of the burger (hamburger)
  menu and its overlay, put the items in columns, see how a long menu scrolls,
  and open the menu from your own button.
---

# Styling the burger menu

The burger menu is a **Burger Menu** widget in the header template. Its button and the overlay that opens over the page are styled in the widget's panel. To open the header in Elementor, see [Customizing the header](./customizing-the-header).

## How to access

**Header template → Burger Menu widget → Style**

Open the header template in Elementor and click the **Burger Menu**, on the page or in **Structure**. The panel on the left shows its tabs: open **Style**.

![The Burger Menu row in Structure selects the widget; the Style tab holds its looks](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-1.png)

## Changing the font size of the menu items

**Burger Menu widget → Style → Typography & Colors**

![The pencil next to Typography under Top Menu opens the font settings](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-2.png)

#### ▶️ Step 1.

Open the **Style** tab and the **Typography & Colors** section.

#### ▶️ Step 2.

Under **Top Menu**, click the pencil next to **Typography** and set the **Size**. **Submenu** has its own **Typography** for the items that open under a parent.

## Changing the colors

The menu has three sets of colors, each in its own place on the **Style** tab.

* **The text of the items.** **Typography & Colors → Menu Colors**: **Text Color** and **Text Color: Hover**.
* **The burger button.** **Burger Icon**: **Closed State** and **Opened State** each have a **Color**, with a **Normal** and a **Hover** tab. The button changes when the menu opens, so set both.

![Closed State and Opened State each have their own Color](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-3.png)

* **The overlay.** **Overlay**: **Background Color**, and **Submenu Background Color** for the items under a parent.

![Background Color sets the color of the overlay](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-4.png)

## Changing the space between items

**Burger Menu widget → Layout → Menu Columns**

Open the **Layout** tab and the **Menu Columns** section. **Top Menu Row Gap** and **Submenu Row Gap** set the space between the items, and **Top Menu Columns** and **Submenu Columns** put them in more than one column. The **Overlay** section above it holds the padding of the overlay.

![Row Gap sets the space between the items of each level](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-5.png)

## My menu is too long to see

The overlay scrolls when the menu is taller than the screen: with the mouse wheel or by touch, while the page behind it stays where it is. The scrollbar is hidden, so nothing shows that there is more below.

To fit more on the screen:

* Move items under a parent in **Appearance → Menus**, so only the parents show at first.
* Make the **Size** of the **Top Menu** **Typography** smaller, or lower **Top Menu Row Gap**.
* Put the items in more columns with **Top Menu Columns**.

## Opening the burger menu from your own button

**Button widget → Content → Button**

![Theme Action in Type reveals the Action list](https://docs.artemsemkin.com/velum/wp/images/header-menus/styling-the-burger-menu-6.png)

#### ▶️ Step 1.

Click a **Button** widget, or add one. Open the **Content** tab and the **Button** section.

#### ▶️ Step 2.

Set **Type** to **Theme Action**, then set **Action** to **Toggle Burger Menu**.

The button now opens the menu overlay, and closes it again when it is open. The other two actions are in [Making a button open the menu or scroll the page](../features/button-actions).

Related: [Changing the images in the burger menu](./menu-image-previews) and [Changing the contact info in the burger menu](./menu-sidebar-contact-info).
