×
  • Themes
  • Support
  • Blog
  • Log In
  • Sign Up

NiceThemesNiceThemes

  • Support
  • Themes
  • Log In
  • Sign Up
Menu

Smart Documentation

Documentation with in-depth articles for Smart WordPress Theme.

Smart Documentation / Headers / Navigation & MegaMenu

Navigation & MegaMenu

Menu Dropdown↑ Back to Top

By default, Smart supports multi-level navigation through a menu dropdown. Links inside main menu elements that contain a submenu will display a down-arrow, indicating an additional navigation level. This level will be displayed when hovering the parent item.

Figure 1: Dropdown Menu

Additional navigation levels can be introduced by adding menu items as children inside a submenu. On the public-facing side of the site, the new level is indicated with a side-arrow, and will also be displayed when hovering the parent item.

Figure 2: Multi-level Navigation

If you need more information on how to manage WordPress menus, you can take a look at this article.

Labels↑ Back to Top

Four different labels can be used to highlight a navigation element. In order to use labels, you need to make sure the “CSS Classes” option is available for menu links. You can toggle this option in Screen Settings > Show advanced menu properties.

Figure 3: Screen Options > Show advanced menu properties

Now you can use the “New”, “Hot”, “Sale” and “Popular” labels by adding their CSS classes to the link’s settings box:

  • label-new will display the “New” label.
  • label-hot will display the “Hot” label.
  • label-sale will display the “Sale” label.
  • label-popular will display the “Popular” label.

Figure 4: Navigation Labels

Megamenu/Multi-Column↑ Back to Top

Smart also supports multi-column submenus, which we’ll also be referring to as “megamenus”.

To have a megamenu inside your navigation area, you need to check the “Megamenu” box inside the settings section of the submenu’s parent element.

Figure 5: Megamenu Checkbox

The number of columns is defined by the amount of direct children elements inside a megamenu. So if your megamenu has two direct children, it will have two columns; three children will generate three columns, and so on. We recommend having no more than four or five columns, so the megamenu columns don’t get too narrow. These direct children will be displayed in the Menu Editor as “Megamenu title”.

Children items of megamenu titles will appear under the titles themselves. Any possible children for these elements will be ignored, as dropdown menus are not supported inside megamenus.

Caption 6: Megamenu

Labels↑ Back to Top

Labels are also supported for megamenu links.

Figure 7: Labels on megamenu links

Embedded Images

You can embed an image inside a megamenu column. To do that, you just need to set a new megamenu title (the direct child from a main navigation item marked as Megamenu) and add the URL of your image inside the “Image Column (megamenu only)” field.

Figure 8: Embedded image in megamenu

Once you’ve done this, the image will be inserted inside the megamenu using the img tag.

Background Images

Background images for megamenu columns are also supported. To use this feature, you need to make sure both the “CSS Classes” and “Description” options are checked in Screen Settings > Show advanced menu properties.

Figure 9: Screen Options > Show advanced menu properties

To use a background image for a megamenu column, you need to add the background-image class to the megamenu title (the direct child from a main navigation item marked as Megamenu) of the column where you want the image to display. You also need to use the image’s URL as the only value for the “Description” setting.

Figure 10: Background image in megamenu

Tip: If you don’t want to have a label for your item, just enter “ ” in the “Navigation Label” field.

You can also adjust the position of the image inside its container with more precision by adding any of the following classes to background-image:

  • background-top-left
  • background-top-right
  • background-top-center
  • background-bottom-left
  • background-bottom-right
  • background-borrom-center
  • background-center

Additionally, the size of the background image can be adjusted using these classes:

  • background-cover
  • background-contain
Headers

Related Articles

  • Header Options
  • Title Bar
  • Using Navigation Menus
  1. Menu Dropdown
  2. Labels
  3. Megamenu/Multi-Column
    1. Labels

NiceThemes

  • About
  • Blog
  • Contact

Support

  • Support Center
  • Knowledge Base
  • Support Forums

Products

  • Themes

Join Us On

Curated with lots of    by your friends at NiceThemes™

Login to your Account

Welcome back! Please log in to your account by filling the fields below:

Forgot?

Not a member? Create a free account.

Create a Free Account

You're 27 seconds away from some awesome WordPress free stuff, benefits and more. Create a free account and have access to our free products, benefits and more!

Already have an account? Log in
Secure Server