How can I centre the Menu on the screen
Hi,
How can I centre the Menu on the screen?
See Seoul2Singapore.org for reference.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.
Hi,
How can I centre the Menu on the screen?
See Seoul2Singapore.org for reference.
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Have a different question or issue?
Start New Thread
Replies
8HI Colin
Please try the following under Appearance > Custom CSS:
/* Vantage Center the main menu */ .main-navigation ul { text-align: center; } .main-navigation ul li { display: inline-block; float: none; }Hi,
Thanks for the support on this. I got it working!
FYI: nothing happened when I added the code into” custom css”.
But then I put it into the “edit css” and it worked!
Regards,
Colin
No problem. It needs to be in Custom CSS to survive the next update of your theme. Please remove the changes from Appearance > Editor and put the following under Custom CSS (if you’re running Vantage Premium we have our own module Appearance > Custom CSS):
/* Vantage Center the main menu */ .main-navigation ul { text-align: center !important; } .main-navigation ul li { display: inline-block !important; float: none !important; }Great – Thanks Andrew
Awesome, you guys rock… thanks for getting back to me. This worked a treat.
Super, glad we could help.
Last night we greatly improved our search so give it a try for future challenges, the answer might on the forum. If not we’re happy to help where we can.
Thanks for that.
I improved on it, to keep the sub-menu items left aligned:
/* Vantage Center the main menu, but not the sub-menus */ .main-navigation ul { text-align: center !important; } .main-navigation ul li { display: inline-block !important; float: none !important; text-align: left !important; }Nice James, thanks for sharing that with everyone.
All the best :)
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.