1. Home
  2. Modudesk
  3. Sections
  4. Header

Header

The Header section shows your logo, main menu, search, account and cart icons at the top of every page. It supports four layouts, mega menus, a transparent mode and a dedicated mobile menu.

Header with the “Logo left — full-width search” layout.

Open the Header settings

  1. From your Shopify admin, go to Online Store > Themes.
  2. Next to the Modudesk theme, click Customize.
  3. In the left sidebar, under Header, click Header.
Header settings and the Add Mega menu button.

The Header sits in the header group, so the same header appears on every page. To hide it temporarily, click the eye icon next to it.

Choose a layout

  1. Open the Header settings.
  2. Under Layout, choose a Logo position:
    • Logo left — inline menu: logo, menu and icons on one row.
    • Logo center — split menu: centered logo with a bottom bar for the secondary and utility menus.
    • Logo left — category search bar: a search bar next to the logo, with the menu in a bottom bar.
    • Logo left — full-width search: a wide search bar next to the logo, with the menu in a bottom bar.
  3. Click Save.

To change the logo image itself, go to Theme settings > Logo.

Set up the menus

  1. Create your menus first in Online Store > Navigation.
  2. In the Header settings, under Menu, pick the Main menu.
  3. For the layouts with a bottom bar, you can also pick a Secondary menu (left side, Logo center layout only) and a Utility menu (right side, top-level items only).

Icons and badges in menu titles: start a main menu item’s title with a word in square brackets. If the word is an icon name, the icon is shown before the title. Otherwise the word is shown as a small badge, e.g. [New]Best Sellers.

Add a mega menu

  1. In the sidebar, expand Header and click Add Mega menu.
  2. In Menu item, type the exact title of the top-level item in your main menu, e.g. Shop by Categories. Upper and lower case don’t matter.
  3. Choose a Layout and fill in the menus, collection and banner (see the table below).
  4. Hover over that menu item on your store to check the result, then click Save.
Mega menu block linked to the “Shop by Categories” menu item.
Mega menu with the Product grid layout and a banner.

Add one Mega menu block for each top-level menu item that should open a mega menu.

Section settings

Colors

SettingDescription
HeaderColor scheme of the main header row.
Default: Scheme 1
Dropdown menuColor scheme of dropdowns and mega menus.
Default: Scheme 1
Search barColor scheme of the search bar. Shown for the search layouts or when the mobile search is on.
Default: Scheme 1
Bottom barColor scheme of the bottom bar. Shown for every layout except Logo left — inline menu.
Default: Scheme 1

Layout

SettingDescription
Logo positionHeader layout (see Choose a layout).
Default: Logo left — inline menu
Search placeholderText inside the search bar.
Default: Search for Products
Full widthStretch the header to the edges of the screen.
Default: Off
Sticky headerNone, On scroll up (shows the header when the visitor scrolls up), or Always.
Default: On scroll up
Separator lineShow a line under the header.
Default: On
Uppercase top-level menu itemsShow the main menu items in capital letters.
Default: Off

The category search bar lists your product types. To filter search results by type, add the Product type filter in the Search & Discovery app.

Menu

SettingDescription
Main menuThe main navigation menu.
Default: Main menu
Secondary menuShown on the left of the bottom bar. Logo center layout only.
Utility menuShown on the right of the bottom bar. Top-level items only.

Transparent header

Make the header background transparent on selected pages. Available for the Logo left — inline menu and Logo center layouts only.

SettingDescription
Home pageTransparent header on the home page.
Default: Off
Collection pagesTransparent header on collection pages.
Default: Off
Other pagesChoose a menu that links to the pages where the header should be transparent.
Text colorText and icon color while the header is transparent.
Default: #969696
LogoReplaces the default logo while the header is transparent.
Mobile logo (optional)Transparent logo for mobile.

Actions

SettingDescription
CartShow the cart icon.
Default: On
SearchShow the search icon. The search layouts always show a search bar instead.
Default: On
AccountShow the account icon.
Default: On
Localization selectorsCountry/language/currency selector style: Use theme setting, Disabled, or one of three display styles.
Default: Use theme setting

Mobile

SettingDescription
Menu icon positionLeft or Right.
Default: Left
Logo positionLeft or Center.
Default: Left
Search styleHidden, or Show a search bar on mobile.
Default: Hidden
Mobile menu footerMenu shown at the bottom of the mobile menu. Top-level items only. Add an icon by starting the link title with its name, e.g. [location] Find a store.
Mobile menu opened from the menu icon.

Mega menu block settings

SettingDescription
Menu itemTitle of the top-level menu item that opens this mega menu.
LayoutColumns: up to two link columns plus groups. Shop all: a heading, description and button plus groups. Product grid: one link column plus a grid of products.
Default: Columns
Column 1 menuLinks in the first column. Columns and Product grid layouts.
Column 2 menuLinks in the second column. Columns layout only.
Groups menuEach top-level item becomes a group heading over its child items. Columns and Shop all layouts.
Product grid collectionProduct grid layout only. Shows the first 8 products.
Heading / DescriptionText for the Shop all layout.
Button label / Button linkButton for the Shop all layout.
Banner – CollectionSets the banner title and link.
Banner – ImageOverrides the collection image.
Banner – BadgeSmall label on the banner, e.g. -25%.

Tips

  • If a mega menu doesn’t open, check that Menu item matches the menu title exactly (spaces included).
  • Set the transparent header only on pages whose first section is a full-width image or video, otherwise the text may be hard to read.
  • Upload a light version of your logo in Transparent header > Logo when the header sits on a dark image.

How can we help?