Mobile

Updated

Usage

Open Appearance → Customize → Header & Menus → Mobile to control when the site switches to the mobile menu and how the slide-out drawer looks. Set the Breakpoint where the desktop links collapse, then adjust the header height, Drawer Width, and link colors.

Pick a Menu Icon and Close Icon and set their sizes. Site Overlay and Overlay Opacity dim the page behind the open menu.

When to use it

  • After setting up the desktop header, when the phone layout feels cramped or links are hard to tap.
  • Sites with photo heroes that need a light menu icon on the first screen.
  • Long menus that need a wider drawer.

Tips

  • Background (Drawer Menu) colors the drawer. Drawer link colors are set separately below it.
  • Reverse Print here affects the social icons and other text in the drawer. Set the drawer Link Color yourself rather than relying on the desktop colors.
  • If the menu switches to mobile too early or too late, change Breakpoint a little at a time and check on a real device.
  • Set Close Icon Color so the X stays visible against your drawer background.

Settings

Mobile

Height (Mobile) setting in the block editor sidebar
Height (Mobile)
Breakpoint setting in the block editor sidebar
Breakpoint
Drawer Width setting in the block editor sidebar
Drawer Width
Background (Drawer Menu) setting in the block editor sidebar
Background (Drawer Menu)
  • Whitedefault
  • Gray
  • Dark
  • Text
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muted
Reverse Print setting in the block editor sidebar
Reverse Print

Turn on when the drawer background is dark. Social icons and drawer text switch to white, and links left on the Text color show white too. Other link colors come from the settings below.

Link Color setting in the block editor sidebar
Link Color

Color of the links in the drawer menu. With Reverse Print on, the default Text color shows as white so links stay readable on a dark drawer. Pick any other color to use it instead.

  • White
  • Gray
  • Dark
  • Textdefault
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muted
Link Color Opacity setting in the block editor sidebar
Link Color Opacity
Link Hover Color setting in the block editor sidebar
Link Hover Color
  • White
  • Gray
  • Dark
  • Text
  • Primarydefault
  • Secondary
  • Accent
  • Variant
  • Muted
Link Hover Opacity setting in the block editor sidebar
Link Hover Opacity
Menu Icon setting in the block editor sidebar
Menu Icon
  • Defaultdefault
  • Thin
  • Lines
  • Vertical
  • Horizontal
  • Grip
  • Staggered
  • Sort
Menu Icon Size setting in the block editor sidebar
Menu Icon Size
Close Icon setting in the block editor sidebar
Close Icon
  • Defaultdefault
  • Thin
  • Circle
Close Icon Color setting in the block editor sidebar
Close Icon Color
  • Whitedefault
  • Gray
  • Dark
  • Text
  • Primary
  • Secondary
  • Accent
  • Variant
  • Muted
Close Icon Size setting in the block editor sidebar
Close Icon Size
Site Overlay setting in the block editor sidebar
Site Overlay
  • None
  • Blackdefault
  • White
  • Primary
  • Secondary
  • Accent
  • Variant
  • Dark
Overlay Opacity setting in the block editor sidebar
Overlay Opacity