Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 11d 22h 55m 24s
Claim 50% off
Solved Templates

need to center a menu on desktop

Asked by YUMA SCOTT 4 years ago Last activity 4 years ago

I'm working with the restora template.
I want to center the main menu on desktop mode only.
How can I make this happen?

Thank you.

Accepted answer

Marked as the solution
Mehtaz Afsana Borsha Staff

You have used #sp-menu .justify-content-end this css maybe on custom.css file. please remove it from there and use my css.

6 more replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contacting us. Could you please give me your site URL and also screenshot of your issue? I need to check.

-Regards.

YUMA SCOTT Asked this

Hello Mehtaz,
Thank you for the reply,
Please see the menu location here:
https://prnt.sc/8auQGZtULTgK

I want to keep the mobile menu on the right only.
Desktop in the center.

Mehtaz Afsana Borsha Staff

Hi

Use this custom CSS

#sp-menu .justify-content-end {
    justify-content: center !important;
}

Path towards custom CSS: Extensions>Templates>Styles> Click on your current default template name then choose Template Options. Then find custom CSS within the custom code.

YUMA SCOTT Asked this

Awesome catch, I missed that. Thank you!

Log in to reply.