I saw an interesting question posted on The Joomla Forum™ recently:

In the main menu of Cassiopeia, I would like to align the menu items centrally; now they are aligned left.forum user,Joomla Forum,  1-Oct-2022

Normally menu items (and the site logo) are left-justified but there may be times when one might want to place these aligned to the centre of the page.  It's really easy to do this and, have a look at the top of this page and you'll see the result.  The solution is to add the following lines to your custom CSS file

.container-nav {
    justify-content: center !important;
.navbar-brand {
    margin: auto;

No comments

Comments are closed

The comments for this content have been closed automatically; it's been a while since it was published.