Cate

How to create a mega menu

24 September 2024  |  Cate

How to create a mega menu

If you have a lot of categories and sub-categories it is likely that you want to implement a mega menu as seen on most ecommerce sites. A mega menu can help customers navigate to certain areas of your site quicker and easier than a left hand menu, with the added bonus of it being hidden away when not in use and not taking up prime selling space.


The navigation bar

On modern websites, you can find your way around via a section at the bottom of the site's Header called the Navigation Bar (also known as Top Navigation). It is best practice to keep the number of top level links on your navigation bar to 10 or less. This helps visitors understand your product ranges quickly and doesn't create initial confusion.

Example of top navigation with 10 links

The link names should be kept short and punchy to ensure they fit on the width of the site for all devices. There's no strict rule that they should match your category names exactly because Google uses the Category Title for the SEO of your category pages, not the name used in the navigation bar.

Top navigation example with 7 links

Please note: there is no need to have a Home link at the start of your top navigation. This is now considered old hat because people know to click on the logo to go back to the homepage. If you have a Home link here, we recommend removing it.


Creating your mega menu

Creating a mega menu in Bluepark is quite straight forward as long as you have your categories already set up in the Products > Product Categories. Have a read of our How to create product categories guide, if you haven't done this yet. Once your categories are set up, you can do the following.

  • Go to Design > Navigation Bar and click on the green Create New icon
  • Type in your Link Title exactly as you want it to appear on the website
  • Ensure Type is set to Link
  • In the Link to drop-down, select the top-level category you want to link to
  • Tick the List sub-categories below option to give you a drop-down menu with all the sub-categories for that category
  • Save and repeat for each top level link

Navigation Editor

If you have a large number of sub-categories listed within a drop-down, you will probably need to separate the links into columns to ensure customers can view all of them without scrolling. To automate column breaks, simply add in the number of links you want to display in a column into the Maximum Lines field.

It is also recommended, if you have more than one column, to set the drop-down to Full Width by ticking the box below. This is common for modern websites to ensure the site is fully responsive for all devices. Our advice is, if in doubt, set it to full width.

Navigation bar display options

Alongside your categories, you can also add in top level links to Pages, such as Contact Us and Delivery, or even external links, such as an external blog. Just select the relevant page in the Link to drop-down for an internal page or add in the full URL into the Web address (URL) field for an external link.


Creating more personalised mega menus

If you don't want to just replicate your category structure in the mega menu you will need to create your navigation structure manually.

  • Click on Create New and type in your Link Title
  • Either leave the Destination(URL) field blank to work as a hover over or link to a category via the Link To option
  • Don't tick the List sub-categories below option and save
  • Then, in the main Navigation Bar section, click on the Create Sub-link icon to the right of link you've just created
  • If you want to create a sub-heading, select Section Heading within the Type option and add a title
  • You can link this to a category and tick List sub-categories below to display any sub-categories
  • Alternatively, you can add individual links, and repeat for each one
  • Lastly, you can create columns, by adding in a new sub-link and selecting Column Divider in the Type drop-down
  • Links, Section Headings and Column Dividers can be reordered within the Navigation Bar section using the up and down arrows

Create Mega Menu Sub-link

Tip: The Navigation Manager can end up looking rather complex as you create your structure so it is best to use the drop-downs at the top of the page to only show the section you are working on. All parents will show everything. No children will show the top level links without the sub-links below. Underneath this will be listed the top level links which you can select individually to show just the sub-links below.


Adding promotional graphics

You can add images and banners, with optional text and links, into each drop-down, which sits on the right of the main category links when set to full width.

Mega menu drop-down promo feature

To do this, do the following:

  • In Design > Navigation Bar, click to edit a top level link
  • In the Feature tab, add in a Feature Image and set the Destination (URL)
  • You can also add text into the Feature Content and add any links you want to it

It is best to keep this area as simple as possible, so it displays well on all sized screens. Also, adding too much content can detract from the main purpose of getting the visitor to products they want to purchase as quickly as possible.


Styling your mega menu

It is possible to change the styling on your mega menu within the Additional CSS and Responsive CSS fields in your theme. However, as all of our themes are designed with website and ecommerce best practices in mind, we only recommend editing these if you are confident that the changes you make won't affect SEO or customer experience, and you are proficient in editing CSS.

Try Bluepark for FREE for 14 days

Full access to everything including our support team, no card details required