The default Joomla! menu is a vertical list in the right side-bar. I'd prefer a more traditional horizontal menu across the top of the page for BostonCube so articles can have the full width of the screen.

For this we need to take a dive into modules, and in this case it's the menu module we need to work with.

Create a Menu Module

Joomla 4 has two different types of module targeted at either Administrators or Users. We are going to create a User module for our top menu.

As always, starting from an administrator login go to Content > Site Modules and click the New button to create a new site module.

Modules Menu

This will bring up a list of all the different module types currently installed in Joomla, there's 24 in a fresh installation of version 4.2.8 and more can be installed via extensions if you want.

Click the Menu module type to start configuring a new menu

Menu module type

The module needs a Title such as Main Menu Top and then we need to configure the Module and Menu Assignment tabs at least.

Module Tab

Field Value Comment
Select Menu Main Menu Defined on the menus section
Base Item Current Leave alone
Start Level 1 Default
End Level All
Sub-menu Items Show
Position Menu [menu] Sets where on the page the module will be displayed
Status Published  
Access Registered  
Ordering 1. Main Menu Top This will be completed automatically on first save

 

Menu Assignment Tab

Field Value Comment
Module Assignment On all pages except those selected We do not want this appearing on the legacy home page
Menu Selection Legacy Menu : Home

 

Click save and the menu should then appear on the front-end the next time you refresh the page.

New top menu layout

And that's the menu now appearing at the top of the page. I really do need to sort out a proper brand though, and tidy up the rest of the layout. Guess what the topic of the next article will be?

 

Remove Old Menu Module

The final step is to disable the default menu in the side bar. Simply go to the Site Module list on the admin pages and click the green tick next to Main Menu to unpublish it and it will disappear. Since it's a default module it's probably worth keeping as a reference but if you're sure you're finished with it you can delete it.