Skip to content
Docs

Stax theme header settings

The Header panel of the Customizer is a drag-and-drop builder for the Stax theme header. The header has up to three rows (Header Top, Header Main, Header Bottom) and a Mobile Sidebar. Open it at Appearance > Customize > Header.

Stax header with three rows: a top bar with a phone number and search form, the main row with the site title, and a bottom row with the menu

You can use one row or all three. A common setup is contact details in Header Top, the logo in Header Main and the menu in Header Bottom.

The builder opens below the site preview, with one line per header row.

  1. Pick the Desktop or Mobile tab. Each has its own layout; the Mobile tab also shows the Mobile Sidebar area.
  2. Drag a component from Available Components into a row.
  3. Click a component in the builder to open its settings.
  4. Click the gear icon at the start of a row to open the row settings (Layout and Style tabs).
  5. Click Publish.

A component can be placed only once per layout: if Button is in Header Top, you cannot add a second one to another row.

Header builder with the Available Components list on the left and the three empty header rows on the right

Mobile tab of the header builder, with the Mobile Sidebar area on the left of the three header rows

Component What it does
Logo & Site Identity Shows the logo, site title and tagline. Options include Show Site Title, Show Site Tagline, Logo max width and Disable Homepage Link.
Primary Menu Shows the menu assigned to the Primary Menu location.
Secondary Menu Shows the menu assigned to the Secondary Menu location.
Menu Icon Shows the hamburger icon that opens the Mobile Sidebar. Mostly used on mobile.
Search Form Shows a search field.
Search Icon Shows a search icon that opens the search field on click. Open Behaviour can be Canvas, Minimal or Float Above Header.
Button Shows a button with its own Text, Link and Appearance.
HTML Shows custom HTML. Shortcodes are supported.
Cart Icon Shows a cart icon. Available only when WooCommerce is active.

Components also have Padding and Margin settings. To create menus and assign them to locations, see Menus.

Presets are ready-made header layouts, useful when you do not want to build the header from scratch. Go to Appearance > Customize > Header > Header Presets and click one to load it into the builder: Classic, Inverted, Centered, Spaced, Collapsed, Search Field or Button Item. You can keep editing the layout afterwards.

Click the gear icon of a row and open the Layout tab. The three header rows have the same options.

Layout tab of a header row with the Layout dropdown set to Full Width - Contained

Layout What it does
Full Width - Contained The row background spans the browser width; the content stays within the site container width. This is the default.
Full Width The row and its content span the browser width (with the container side padding).
Contained Both the row background and the content are limited to the site container width.

Open the Style tab of the row settings.

Style tab of a header row with Row height, Text Color, Border Width, Border Color and Row Background

Option What it does
Row height Height of the row in pixels, set separately for desktop, tablet and mobile.
Text Color Color of text in the row, used when a component does not set its own color.
Border Width Width of the border at the bottom of the row, per device.
Border Color Color of that border. It shows only when Border Width is above 0.
Row Background A Color or an Image behind the row.

With Image selected in Row Background:

Option What it does
Use Featured Image Uses the featured image of the current post or page as the row background, so each page can have its own header image.
Image / Fallback Image The background image. With Use Featured Image on, it becomes the fallback for posts and pages without a featured image.
Fixed Background Keeps the image fixed while the page scrolls, for a parallax-like effect.
Overlay Color A color laid over the image.
Overlay Opacity How strong the overlay is, from 0 to 100.

The color pickers can use your global palette, see Colors.

The mobile sidebar is the panel that opens when a visitor clicks the Menu Icon. In the builder, open the Mobile tab, add components to the Mobile Sidebar area, then click its gear icon.

Layout tab of the Mobile Sidebar with Alignment, Open Behaviour and Sidebar Width

Option What it does
Alignment Aligns the sidebar items Left, Center or Right, per device.
Open Behaviour How the sidebar opens: Slide from Left, Slide from Right, Pull from Left, Pull from Right, Full Canvas or Slide Down.
Sidebar Width Width of the sidebar per device (350px by default). Available for the slide and pull behaviours.

The Style tab has the same Text Color, Border Width, Border Color and Row Background options as a header row.