Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

Menus and navigation: drop-down, mega menu, and footer menus

Learn how to create and edit menus in your online store. The guide covers menu item types, hierarchy, locations, drag-and-drop sorting, and how top, drop-down, mega, and footer menus work in the Montana theme.

Reading time: about 28 minutes
Store owner

With Shoporama's menu builder, you can set up the navigation in your online store exactly the way you want it. You can create several menus, place them in different spots on the page, and organize them in a hierarchy with parent menus and submenus.

Overview of your menus

Under Content → Menus, you find an overview of all the menus you have created. For each menu, you can see the name, the tag, the selected location (top, bottom, left side, or right side), and how many menu items the menu contains. Click a menu to edit it.

Overview of menus in the Shoporama admin with the columns Name, Tag, Location, and Items, and the Create menu button
The menu overview under Content shows each menu's name, tag, location, and number of menu items. From here, you create new menus or click a menu to edit it.

Create a new menu

Click Create menu and give the menu a name. When you click Create, the edit view opens, where you can add menu items and configure the menu further.

Menu settings

At the top of the page, you set up the menu itself:

  • Name: the name of the menu. Some themes show it on the front page. In Montana, the name of a footer menu becomes the heading above the column in the footer.
  • Tag: a short label that the theme uses to fetch the menu and show it in the right place. If your theme specifies which tags it uses, they appear as suggestions below the field, and you can click a suggestion to insert it. Delaware, DelawareDK, Montana, and MontanaB2B do this today. In Montana, the suggestions are footer_menu_1 and footer_menu_2.
  • Menu Location: choose whether the menu should be at the top, at the bottom, on the right, or on the left. If your theme specifies which locations it fetches menus from, only those are shown. In Montana, you can therefore only choose “Top”. A location that is already selected always stays in the list, even if the theme doesn't use it, so you can see it and remove it again.

Never remove “Top” without setting it on another menu

Montana finds your main menu at the “Top” location. If no menu has that location, the entire navigation disappears from your store, both the menu bar on desktop and the menu behind the hamburger icon on mobile. There is no error message, and categories are not shown instead. If you build a new main menu, set “Top” on the new one first, then open your front page in another window and check that the menu is there before you touch the old one.

If your theme uses specific CSS classes on menu items, they are listed with an explanation below the settings, so you can see what makes sense to enter in the Class field on the individual item. In Montana, these are megamenu and show_image. If your theme hasn't specified anything, the field is still there, just without suggestions. Only enter a class your theme actually knows, because in some themes an unknown class can mean that the item is not shown at all.

At the bottom of the page are two save buttons: Save and close closes the menu and takes you back to the overview, and Save and keep editing keeps you on the page. Keep in mind that Shoporama stores the address of the pages you have added to the menu. If you later change the address of a category or a page, you need to save the menu again before the menu item points to the right place.

Under Advanced, you find the field This item is a submenu of. This is not the field that builds your drop-down menus. It only groups the menus in the overview, so you can see what belongs together, and it fills itself in when you attach a submenu to an item. If the field already has a value, the section is open, so you can see it. You normally don't need to touch it.

How menus work in Montana

Each theme decides where it shows each menu. The theme fetches some menus by their location and others by their tag. If it doesn't match what the theme expects, the menu is not shown at all. Below are the rules for the standard theme Montana. The same rules apply to MontanaB2B.

The top menu (the horizontal navigation bar)

The top menu is controlled only by the location. Set the location to Top on the menu that should be the main navigation. The tag has no effect on the top menu, and the field can be left empty.

  • If no menu has the location “Top”, Montana shows no navigation at all. Neither the horizontal bar on desktop nor the list in the mobile menu. The theme does not fall back to showing your categories automatically.
  • If several menus have the location “Top”, only one of them is shown, and you can't control which one. So only set “Top” on one menu.
  • The same menu is used for both the horizontal bar on desktop and the mobile menu. You don't need to create two.

Drop-down menu under a menu item

To add a drop-down menu under an item in the top menu, do this:

  1. Create a new menu with the links that should be in the drop-down. It doesn't need a specific location or a specific tag.
  2. Go back to your top menu, and click Add a submenu below the list of items. Select the new menu under Or use a menu you already have, and click Add an existing menu.
  3. The item gets the menu's name in the Title column. Enter the text that should appear in the top menu, and click Save and close.

An empty submenu disappears completely

If the menu you point to has no menu items yet, Montana doesn't even show the top-level item. So add the items to the submenu first, and then attach it to the top menu.

Mega menu with several columns

Montana can also show a wide menu with several columns. This requires three levels of menus and an HTML class:

  1. Create one menu per column. In each column menu, the first menu item is the column's heading, and the rest become links below the heading.
  2. Create a collection menu, and attach each column menu to it as a Submenu with Add a submenu and Add an existing menu.
  3. Attach the collection menu to your top menu in the same way, and enter megamenu in the Class field on that row.

The column heading is only shown if the column's first menu item is a category, a product, or a landing page. If you use the type “Link” or “Static page” as the first item, the heading disappears from the column completely. To show an image above the heading, enter show_image in the Class field on the column's first menu item.

The footer menus

The footer in Montana is made up of fixed columns. The first one shows your company information, and on the far right is the newsletter sign-up, if you have turned it on in the theme settings. The two columns in the middle are menus, and the theme fetches them by their tag:

  • Give the first footer menu the tag footer_menu_1.
  • Give an optional second column the tag footer_menu_2.

The menu's name becomes the heading above the column. If you call the menu “Customer service”, the footer shows Customer service above the links.

Is your footer menu not showing?

This is by far the most common cause: the footer menu in Montana is only shown when the menu's tag is footer_menu_1 (or footer_menu_2 for the second column). Setting the location to “Bottom” is not enough. Enter the tag exactly, without any leading spaces, and remember both the underscores and the number at the end. Open the menu, correct the tag, and click Save and close.

What isn't a menu

Two things in Montana look like menus but are set up somewhere else:

  • The narrow bar with icons at the top (for example “Free delivery” or “Fast shipping”) is not a menu. It is set up under Design → Theme settings → USPs, where you can enter up to four short messages, each with its own icon and link.
  • The locations Bottom, Left side, and Right side are not used by Montana. If you put a menu in one of them without also giving it the right tag, it is not shown anywhere.

Add menu items

At the bottom of the edit view, choose the type of menu item you want to add, and then click Add. The following types are available:

  • Category: a link to a product category in your store.
  • Product: a link directly to a specific product.
  • Landing page: a link to one of your landing pages.
  • Static page: a link to a static page (for example “About us” or “Terms and conditions”). If the page is set offline, the item is not shown in your store until the page is online again.
  • Blog post: a link to a specific blog post.
  • Link: a free URL you enter yourself, for example an external link or a specific address in your store.
  • Submenu: another menu shown as a drop-down. It is not in the drop-down list but is created with the right arrow or the Add a submenu button (see Hierarchy and submenus below).

For each menu item, you can specify:

  • Title: the text shown in the menu. If you leave the field empty, Shoporama fills it in automatically with the item's own name (for example the category name or the product name) when you save.
  • Class: an optional CSS class added to the menu item, if your theme supports it. In Montana, it is used for megamenu and show_image. Otherwise, leave the field empty.
  • Points to: the category, product, page, or URL that the menu item should link to.

Sorting and moving items

Grab the small handle to the left of a menu item, and drag the item to where it should be. The order is saved automatically right away, so you don't need to save afterward. This only applies to the position. Title, Points to, and Class are only saved when you click Save and close or Save and keep editing.

Because the submenus' items are expanded on the same page, you can drag more than just the order. That is the difference between five minutes and half a morning when the season changes:

  • Into a drop-down: drag the item in between the indented items, where the submenu is.
  • Out of a drop-down: drag the item back up into the outermost list.
  • From one drop-down to another: drag the item directly from one branch to the other.
  • An entire drop-down at once: if you drag an item that is itself a submenu, all its contents come along.

There is one thing dragging can't do: it can't turn an ordinary link into a drop-down. Only the right arrow does that. The arrows also work on tablets and phones, where the handle can be hard to hit.

If the item needs to go to a completely different menu that isn't expanded on the page, for example from the top menu to a footer menu, use the button with the folder icon next to the arrows instead. Shoporama then asks which menu the item should be moved to.

If the move isn't possible, the item jumps back to its old position, and you get a message explaining why. This typically happens if you drag a drop-down into itself or into one of its own sub-drop-downs, or if the branch becomes deeper than your theme can show. Nothing has happened to your data. Be aware, though, that if you drag an item into a branch that says “More levels are available here”, it lands at the bottom of something you can't see on the page. Open the submenu itself to continue working with it.

Hierarchy and submenus

If your top menu has grown to twelve items in one long row, you can group them into drop-downs directly in the list of items. You don't need to create a menu somewhere else first and bring it in afterward.

  1. If “Sneakers” and “Boots” should be under “Shoes”, click the right arrow next to “Shoes”. The item becomes a drop-down, and Shoporama creates the submenu for you. It is named after the item, here “Shoes”.
  2. Drag “Sneakers” into the drop-down, so it is indented under “Shoes”.
  3. Do the same with “Boots”. It lands in the same submenu, under “Shoes”.

The left arrow moves the item back out, one level at a time, and places it right after the drop-down it came from. An item that is already a drop-down has no right arrow.

The items stay on the page at all times, indented under the item they belong to, so you can see the whole structure in one place. The page expands three levels at a time. If there is more below that, it says “More levels are available here”, and you click into the submenu itself to work with those items.

Why are there suddenly two items?

If “Shoes” pointed to a category before you clicked the arrow, Shoporama moves that link down as the submenu's first item. An item that opens a drop-down can't link anywhere itself, so without that move, the link to the Shoes category would be gone. That's why “Shoes” now appears twice: once as the item that opens the drop-down, and once as the drop-down's first item. An explanation is also shown on screen when this happens. If you don't want the extra item, just delete it. If “Shoes” didn't point anywhere to begin with, nothing happens, and the drop-down starts out empty.

Add a submenu

Below the list of items is the Add a submenu button. Use it when you want to start with an empty drop-down instead of indenting existing items. Give the submenu a name, click Create a submenu, and it is added at the bottom of the menu you have open. If you want it further inside the tree, drag or move it into place afterward.

In the same box, under Or use a menu you already have, you can attach one of your other menus instead. This is handy for a customer service drop-down that should be the same in several places: if the item says used in 2 places, a change applies in all of them. You can't attach a menu under its own submenu. Shoporama rejects that with a message.

To add new items directly to a drop-down, use the Place in drop-down list next to Add an item. It determines which branch the new item lands in. Choose the menu itself to place the item at the bottom of the main menu, or choose one of the submenus to place it directly in that drop-down.

How many levels can you use?

Your theme decides. Montana and MontanaB2B tell Shoporama, and then the admin stops you if you try to indent further than the theme can show, and it flags items that are already too deep. Montana shows three levels in a mega menu: the item in the top menu, the columns, and the columns' items. An ordinary drop-down shows two levels: the item in the top menu and one list of links below it. The admin only blocks at the fourth level, so a third level can appear without a warning and still only show up in a mega menu. If you use a different theme, you get neither warnings nor blocking, so you need to keep track yourself.

An empty drop-down is invisible

If an ordinary drop-down has no items, Montana shows neither the drop-down nor the item that should open it. That leaves a gap in the menu where “Accessories” used to be. An empty mega menu behaves differently: the item stays, and the customer sees an empty panel. Always add at least one item to the submenu, and open your front page in a new tab and check before you move on. Also remember that Montana finds the entire top menu at the “Top” location. See the section about menu settings further down.

Changing the URL of menu items

Shoporama stores the URL of the pages you add to your menus for performance reasons. This means that if you later change the URL of a category, a product, or a page, you need to open the menu in question and save it again for the URL in the menu to be updated.

Delete a menu or a menu item

You delete a menu item with the red button with the trash can icon to the right of the item. The deletion happens right away, and you don't need to save afterward. Categories, products, and pages are never deleted along with it. A menu only contains shortcuts.

If the item is a drop-down, it depends on what kind of submenu is attached to it:

  • A submenu that Shoporama created itself, because you indented an item, and that isn't used anywhere else: it is deleted along with the item. Otherwise it would be left behind as a menu nobody can find. If it contains items, we ask first and tell you how many items will be deleted with it. If it is empty, there is nothing to decide, so we don't ask.
  • A submenu you have given a tag or a location yourself: only the link is removed. The menu itself stays, and you can find it in the menu overview.
  • A submenu that is used in several places: here too, only the link on this page is removed. We don't touch the other places where it is used.

The number in the confirmation covers the submenu's own items. If there are more automatically created drop-downs further down under it, they are deleted too, and they are not included in the number. If you have built several levels, look through the branch before you delete the top item.

You delete the entire menu with the Delete entire menu button at the bottom of the page. You are asked to confirm, and the deletion can't be undone. From the menu overview, you can check several menus and delete them all at once.

Frequently asked questions

I created a menu, but nothing happens in my store. What did I do wrong?

It is almost always because the menu is missing the location or the tag the theme expects. In Montana, the main menu must have the location “Top”, and the footer menus must have the tag footer_menu_1 or footer_menu_2. Without that, the menu is not shown, no matter how many items you have added to it.

What is the difference between “name” and “tag”?

The name is what you call the menu yourself, and customers sometimes see it (for example as the heading above a footer column). The tag is a technical label that the theme uses to find the right menu. Think of the tag as a socket number: the theme looks for a specific number, and the menu must have exactly that number to be shown.

Can I have several menus at the top?

No. Montana only shows one menu at the “Top” location. If you need more levels, create drop-downs instead by attaching submenus to the items in your top menu.

Do I need to add all my categories to the menu manually?

Yes. Montana doesn't show categories automatically. This is a deliberate choice, so you decide the order yourself and can leave out categories that shouldn't take up space in the navigation. On the other hand, you can stick to the most important categories at the top and leave the rest in the category menu on the category pages.

I changed the name of a category. Do I need to update the menu?

The title in the menu is not changed automatically, because it is stored as separate text. The same applies to the address if you have changed the category's URL. Open the menu, correct the title, and click Save and close. The address is then updated at the same time.

Why did the heading in my mega menu column disappear?

Because the column's first menu item must be a category, a product, or a landing page. If the first item is a free link or a static page, the heading is not shown. Replace the first item with a category, and the heading appears.

Can I link to something outside my store?

Yes. Choose the type “Link” and enter the full address, for example to your Facebook page. You can also use the type “Link” for internal addresses that aren't a category or a page, for example /blog.

Does the same apply on mobile?

Yes. Montana uses the same top menu for the mobile menu behind the hamburger icon, including your drop-downs. So you don't need to maintain two menus.

I use a theme other than Montana. Does the same apply?

The menu builder itself is the same for all themes, but each theme decides which locations and tags it reads. MontanaB2B follows the same rules as Montana. If you use a different theme or a custom-built theme, contact us at support@shoporama.dk, and we will find out which tags your theme expects.

I renamed a category, but the menu item still has the old name

The title of a menu item is the item's own text, and it doesn't change automatically when you rename a category or a page. This is intentional, because most people want to be able to give the item a shorter name in the menu than it has on the page itself. Correct the text in the Title field and click Save and close. If you would rather use the category's current name, just clear the Title field and save, and Shoporama fills it in for you.

What happened to the drop-down list of all my products in the “Points to” column?

It has been replaced by a search field. Type the first few letters of the name, and choose from the list that appears. If you had 3,000 products, all of them had to be loaded on every single row, which made the page slow to open. The search field only searches within the item's type, so you can't turn a category item into a product item by searching. You choose the type when you add the item. If the item has the type Link, however, you can search all types, and we insert the address for you.

One of my drop-downs says “shown above”

It means that the same submenu is already expanded further up on the page, because you use it in two places in the same menu. We only expand it once, so you don't end up with two sets of fields for the same content and accidentally edit two places at once. Edit the items where they are expanded, and the change applies in both places.

Can I create a wide mega menu like that in Montana?

Yes. Enter megamenu in the Class field on the item that opens the drop-down. Below it, you then need two levels: each submenu under the item becomes a column, and the column's items become its links. The column's first item becomes the heading above the column and is not repeated in the list below, so make it a category, a product, or a landing page. To show an image above the heading, enter show_image in the Class field on that particular item. Don't put ordinary links directly under the megamenu item, because they are not shown. They need to be inside a column.

One of my menu items is flagged as if it doesn't point anywhere

That means the category, product, or page the item pointed to has been deleted. We leave the item in place with its old value instead of silently removing it, so you can see what happened. Search for the right target in “Points to” and click Save and close, or delete the item if you no longer need it.

If an item for a static page says “not displayed” instead, the page hasn't been deleted but has been set offline. See the question about missing menu items further down.

Can I turn off a menu item for a while without deleting it?

There is no on/off switch on individual items. Instead, create a menu called “Parking”, for example, and leave it without any tag or location, so no theme fetches it. Then use the button with the folder icon next to the item to move it there when it should be taken out of the menu, and back again when you need it. The item, its title, and its link are kept along the way.

If the static page itself should also be hidden for a while, you can set it offline under Content → Pages instead. The item is then hidden automatically in your store, and when you edit the menu, it says “not displayed” next to it. When the page is online again, the item comes back without you having to do anything. Keep in mind that this hides the entire page from your visitors, not just the item. Read more about setting a static page offline.

My menu item for a static page has disappeared from my store

The page has most likely been set offline. Look at the Online column under Content → Pages. A gray, crossed-out eye means the page is offline. When you edit the menu, the item also says “not displayed”, and if you hover over it, you can see why. Click the eye to set the page online again, and the item comes back by itself.

If the item is in a drop-down where all the items are offline pages, Montana shows neither the drop-down nor the item in the top menu that opens it. That item is not flagged when you edit the menu.