In Joomla backend go in Extensions -> Modules. Click on the menu you want to be as horizontal, and in portions select mainmenu. In Advance Options for Alternative Layout select mainmenu. Make sure that main menu is selected in all pages. Put "Show submenu items = Yes".