Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 13h 47m 05s
Claim 50% off
Solved Templates

Main Menu Items Alignment - Newsberg Template

Asked by Joel C 4 years ago Last activity 4 years ago

Working with Newsberg template in Joomla v4, struggling to get main menu items to be evenly spaced apart. Have tried numerous custom css attempts with no luck and seeking help to get the main menu items to be evenly spaced apart.
View of main menu at http://future2.thearda.com:8447
You'll see the spacing of main menu items is inconsistent (e.g., large space between first two menu items, tighter but still inconsitent spacing between subsequent menu items).
I assume a custom css setting will achieve desired spacing but have not figured this out and seeking help.
Joomla admin conneciton info in hidden content.

Accepted answer

Marked as the solution
Ariba Staff

Hello

Thank you for your query.

Please use the following custom css

.sp-megamenu-parent > li:not(:last-child) {
    margin-right: 0px !important;
}
#sp-header #sp-menu .sp-megamenu-parent > li:not(:last-child) > a {
    margin-right: 50px !important;
}

2 more replies

Joel C Asked this

Thanks - worked well. Marked the answer as accepted.

Ariba Staff

You are most welcome :)

Thank you for accepting the answer!

Log in to reply.