By default, menus in Joomla 3.0 will be displayed vertically. Many users would like to instead create horizontal menus, such as a menu that appears at the top of your website. In this tutorial, we'll walk you through the steps for creating a horizontal menu in Joomla 3.0.

Creating a horizontal menu in Joomla 3.0 is not as difficult as creating a horizontal menu in Joomla 2.5. This is mostly due to the addition of bootstrap in Joomla 3.0. In this article we'll show you how to use bootstrap's nav-pills CSS class to make a hoizontal menu.

Creating a Horizontal Menu in Joomla 3.0:

In this tutorial, we'll assume that you've already created a menu in Joomla 3.0 and assigned it to a position. The following steps walk you through updating an existing menu so that it displays horizontally.

  1. Log into your Joomla 3.0 administrative dashboard
  2. In the top menu, click Extensions and then click Module Manager
  3. In the list of modules, click on the module for the menu you would like to modify. Make sure it's Type is menu.
  4. Within the set of tabs toward the top of the page, click the Options tab, then click the Advanced Options link, to access the settings.
  5. Find the following setting:

    Menu Class Suffix
    A suffix to be applied to the CSS class of the menu items

    For this setting, enter nav-pills and then click the Save button in the top left of the page.

    Important! If you are using Joomla 3.02 and 3.03 or cannot get the nav-pills to work, you may need to add a SPACE before nav-pills entry.

    menu-class-suffix-nav-pills

    You can see in the screenshots below how setting nav-pills as the Menu Class Suffix sets a menu to be horizontal.

    Menu Class Suffix: (empty)Menu Class Suffix: nav-pills
    vertical-menu horizontal-menu
Like this Article?
ReneOverweg 2013-03-25 5:25 pm
Your briljant! Thanks!
It doesn't work without the space indeed.
bnbcloud 2013-04-10 9:10 am
i cannot even see the advanced options tab, it only shows 3 tabs details, options, menu assignment
johnpaulb-imhs1 Community Support technician 2013-04-10 4:37 pm
Hello bnbcloud,

Thank you for your comment. Since Joomla recently updated the interface, I have updated this article to reflect the new location of the Advanced Settings.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul
ChrisNolan 2013-04-13 3:35 am
Hi,
great article... i cant seem to get it working though. I tried everything in this article, properly.
i am running off of Joomla! 3.0.3. and i even tried adding a space in front of nav--pills
and yes the type is set to menu..

any suggestions? Your help is much apreciated!

-Chris
GeorgevanderSijde 2013-04-24 9:55 am
@ChrisNolan; make sure you put navpills in the "menu" class field and not in the "module" class field. This I did at first time and of course didn't worked out. I also have to use the space upfront..

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Brad Markle, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Cpanel license is expired
  2. How do I provide a truly secure FTP site for my client to upload files with sensitive data (PHI - Personal Health Information, as referred to by HIPAA)?
  3. styles are not rendering on initial page load

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!