Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Dealers frequently require changes to be made to their navigation. There are two different types of nav snippets you may encounter, as laid out below.

Basic Nav

Editing the Basic Nav is generally pretty simple and straightforward.

Navigate to the Snippets folder for the dealer and find the nav snippet.

image-20241007-191830.png

Once you’ve found the nav snippet, open it up and open the Source Code.

image-20241007-191849.png

In the Source Code, you will see the nav setup laid out with all of the current nav options already in place.

image-20241007-191909.png

Adding a new page to the top-level menu

To add a new page to the top-level menu, you can either copy an existing page with no dropdown and edit it to have the appropriate URL and title, or utilize the following basic code to add a menu item.
<li><a href="/URL">NAV TITLE</a></li>

Please note that if the URL is supposed to open in a new window (for example, a link to another site like Google Maps, a parts store, etc) you should use the following basic code instead:
<li><a href="/URL" target="_blank">NAV TITLE</a></li>

image-20241007-191806.png

Adding a new page to a sub-menu

To add a new page to a sub-menu, you can either copy an existing page in the sub-menu and edit it to have the appropriate URL and title, or utilize the following basic code to add a sub-menu item.

<li><a href="/URL">NAV TITLE</a></li>

Make sure your <li> is within the <ul class="dropdown"></ul> area beneath the dropdown for the category to ensure it will show up on the sub-menu.

Please note that if the URL is supposed to open in a new window (for example, a link to another site like Google Maps, a parts store, etc) you should use the following basic code instead:
<li><a href="/URL" target="_blank">NAV TITLE</a></li>

Adding a new dropdown item to the top-level menu

To add a new dropdown item to the nav, you can either copy and existing dropdown, or use the following basic code.

<li class="dropdown"><a data-toggle="dropdown" href="#">DROPDOWN TITLE <i class="fa fa-caret-down" aria-hidden="true"></i></a><b data-toggle="dropdown"><i class="fa fa-plus" aria-hidden="true"></i></b>
<ul class="dropdown-menu">
<li><a href="/URL">SUB-MENU LINK</a></li>
</ul>
</li>

The dropdown must have at least one item under it for it to work properly, but preferably, it should have 2 or more. We do not want to have a dropdown menu if there is only one item displaying beneath it. Remember that best practice is the top level of a dropdown does not have a link! From a user experience perspective, make sure to consider if it makes sense having a dropdown where it is being placed, and if not, how we could arrange the nav in an alternate manner.

image-20241007-192434.png

Once you have added your item to the nav snippet, you can exit out of the Source Code mode, and Save & Publish the snippet.

Mega Menu Nav

Mega Menus tend to have more complicated setups, additional CSS styling, and oftentimes images or icons are included as well. This makes them a little more difficult to add items to. A few common additions or changes are broken down below.

  • No labels