Website Building » Shopify » How Do I Create a Mega Menu in Shopify?

How Do I Create a Mega Menu in Shopify?

Last updated on January 8, 2023 @ 4:23 pm

A mega menu is a drop-down menu with multiple columns that can be used to display a lot of content in a single menu. Mega menus are often used on ecommerce sites to help visitors navigate to the products they’re looking for.

Shopify’s theme editor makes it easy to create and edit mega menus. In this article, we’ll show you how to create a mega menu in Shopify.

First, log in to your Shopify admin and go to Online Store > Themes. Find the theme you want to edit, and then click Actions > Edit code.

In the Layout section of the code editor, click on Add a new snippet. Name the snippet megaMenu and click Add snippet.

In the megaMenu snippet, paste the following code:

<style>
    .mega-menu {
      width: 100%;
      background: #fff;
      padding: 20px;
      }

.mega-menu__column {
      float: left;
      width: 33.33%;
      }

.mega-menu__column:last-child {
      float: right;
      }

.mega-menu__column h3 {
      font-size: 18px;  color:#333; padding-bottom: 10px;}

.mega-menu__column ul { margin: 0; padding: 0;}

.mega-menu__column ul li { list-style: none;}

.mega-menu__column ul li a { color:#666; font-size: 16px; text-decoration: none; padding: 10px 0;}

</style>

<div class="mega-menu">

<div class="mega-menu__column">

Shop by Type

PRO TIP: The following article contains instructions on how to create a mega menu in Shopify. Please be aware that this feature is only available to Shopify Plus merchants. If you are not a Shopify Plus merchant, please do not attempt to follow these instructions as you will not be able to create a mega menu.
Drew Clemente

Drew Clemente

Devops & Sysadmin engineer. I basically build infrastructure online.