Pebble Theme
Pebble Theme
Global SectionsHeader

Mega menu

10 min read

In addition to standard dropdown menus, Pebble offers a Mega menu feature. The Mega menu lets you create a highly functional and visually engaging navigation experience.

image

How to Set up a Mega menu

Steps:

  1. In the theme editor (Customize), locate the Header section.
  2. Click Add block, then select the add-on type you want for your menu.
  3. Make necessary changes.
  4. Click Save.
image

Mega menu types

image

Build a flexible, modern mega-menu with multiple layouts that allow you to display menu links, category thumbnails, banners, or product cards within a single rich dropdown panel.

This works best when the 3rd-level menu items are collections.

A menu with 3-level nested items is suggested.

image

Connects this Sidebar block to one specific item in your store’s main navigation.

How it works:

  • Enter the exact name of the menu item (spelling must match).
  • When the user hovers over or /clicks that menu item, this Sidebar block is displayed in the dropdown.

If it does not match exactly, the banners will not appear.

Controls how many columns are used to display your 3rd-level menu items.

  • Range: 2 - 4 columns
image

How the Sidebar mega menu chooses which image to display:

The menu automatically selects a collection image based on the following order.

Each step overrides the one before it:

1 - Collection featured image: This is the default image shown when "Show collection image" is enabled.

2 - Custom metafield image: If you’ve added an image to the metafield foxtheme.collection_megamenu_image, this image will replace the featured image. Learn more

3 - First product image: If the option "Use the first product image as the collection image" is turned on, the menu will use the first product’s featured image instead.

Show collection image

Enables the display of a collection image for each 3rd-level menu item, as long as those items are collections.

image image

Use the first product image as collection image

Automatically uses the first product image from each collection as its thumbnail.

image

This works only when the Show collection image is enabled.

Layout

The right sidebar offers two main layouts:

  • With banner: Shows a customizable banner on the right side.
  • With products: Shows featured product cards on the right side.

Shows a customizable banner on the right side.

image

Shows featured product cards on the right side.

image

Add banners to your mega menu to enhance navigation and showcase promotions or featured content.

image

Connect this Banner block to one specific item in your store’s main navigation.

How it works:

  • Enter the exact name of the menu item (spelling must match).
  • When the user hovers/clicks that menu item, this Banner block is displayed in the dropdown.

Control how many navigation columns for your nested menu items show on the left side of the mega menu.

  • Range: 1 – 4 columns
image

This does not affect how much space is left for banners on the right side; banner width is controlled separately.

Banners

These settings control the overall layout of the banner area on the right side.

image

Width

Set how much horizontal space the banners occupy inside the dropdown.

  • Range: 20% - 100%

Columns

Specify the number of columns the banners occupy.

  • Range: 1 - 4 columns

Mobile columns

Control the number of banner columns shown on mobile devices.

  • Option: 1 or 2 columns

Color scheme

Applies your theme’s color styling to banner text and buttons.

It works for Top badge and Bottom button designs only.

Design

Determines how text and buttons appear relative to the images.

  • Content below image
  • Top badge
  • Bottom button (Badge does not appear in this mode)
image
image
image

You can add up to 4 banner items. Each banner has the following settings:

Image

image

Upload or select the main desktop image for the banner. You can also upload an optional mobile-optimized image.

If left empty, the desktop image will be used on mobile devices.

Image overlay opacity

Adjusts the amount of color overlay placed over the banner image to improve text readability.

  • Range: 0% – 100%

Heading

Enter the main title text for the banner.

Heading size

Choose the display size:

  • Heading 1
  • Heading 2
  • Heading 3
  • Heading 4
  • Heading 5
  • Heading 6

Subheading

Optional supporting text that appears above the heading.

See how to adjust the Subheading font style.

Badge

Text displayed inside a small badge (e.g., "Hot", "Sale", "New").

image

Visibility rules:

  • Appears in the Top badge and the Content below image designs
  • Hidden in the Bottom button design

Button label

Enter the text shown on the call-to-action button (e.g., "Show now").

If you leave the Button label empty and set the Button icon to None, the button will disappear completely.

Select or enter the link the button should lead to. Then, you can select the button style, size, and button icon as you want.

image
image

Button icon style works only with the Bottom button design.

Combine a text column with a set of image-based banners inside your mega menu to highlight brand information, promotions, or featured pages.

image

Connects this Text with banners block to one specific item in your store’s main navigation.

How it works:

  • Enter the exact name of the menu item (case and spelling must match).
  • When the user hovers/clicks that menu item, this Text with banners block is displayed in the dropdown.

Text with banners

image

Width

Controls how much horizontal space the entire Text with banners section occupies inside the dropdown.

  • Range: 20% - 100%

Text column

The text column appears on the left side of the layout.

image

Heading

Enter the title for the text column (e.g., "Who We Are").

Heading size

Choose the display size:

  • Heading 1
  • Heading 2
  • Heading 3
  • Heading 4
  • Heading 5
  • Heading 6

Text

Enter descriptive text or a short introduction (Supports rich text formatting).

Banners

This section controls the image banners displayed next to the text column.

image

Columns

Specify the number of columns the banners occupy.

  • Range: 1 - 4 columns

Mobile columns

Control the number of banner columns shown on mobile devices.

  • Option: 1 or 2 columns

Color scheme

Applies your theme’s color styling to banner text and buttons.

It works for Top badge and Bottom button designs only.

Design

Determines how text and buttons appear relative to the images.

  • Content below image
  • Top badge
  • Bottom button (Badge does not appear in this mode)
image
image
image

You can add up to 4 banner items. Each banner has the following settings:

Image

image

Upload or select the main desktop image for the banner. You can also upload an optional mobile-optimized image.

If left empty, the desktop image will be used on mobile devices.

Image overlay opacity

Adjusts the amount of color overlay placed over the banner image to improve text readability.

  • Range: 0% – 100%

Heading

Enter the main title text for the banner.

Heading size

Choose the display size:

  • Heading 1
  • Heading 2
  • Heading 3
  • Heading 4
  • Heading 5
  • Heading 6

Subheading

Optional supporting text that appears above the heading.

See how to adjust the Subheading font style.

Badge

Text displayed inside a small badge (e.g., "Hot", "Sale", "New").

image

Visibility rules:

  • Appears in the Top badge and the Content below image designs
  • Hidden in the Bottom button design

Button label

Enter the text shown on the call-to-action button (e.g., "View details").

If you leave the Button label empty and set the Button icon to None, the button will disappear completely.

Button link

Select or enter the link the button should lead to.

Button style

Choose the visual style of the button:

  • Primary
  • Secondary
  • White
  • Outline

Button size

Select the size of the button:

  • Extra small
  • Small
  • Medium
  • Large

Button icon

image

Choose the icon displayed next to the button text.

Button icon style

image

Select how the icon is styled:

  • Default
  • Solid
image
image

Button icon style works only with the Bottom button design.

Last updated