How to center the drop down menu

Hello, I have just put in a “drop-down menu” on my page www.barmagi.se under “entertainment”. I was wondering if it’s possible to center it under the word because right now it’s just on the left side and it doesn’t look so good.

Looking forward to the answer, have a great day

/Anders

Hello Anders, try to use the following CSS code.

You can add CSS code in Customize → Additional CSS section.

#mainnav ul li ul.sub-menu {
    left: -20px;
}

Please feel free to ask any other questions that you might have.

And have a great day as well! :slight_smile:

Kind Regards, Roman.

Thank you Roman, it works perfectly.
One more question when we are talking about the drop-down menu, how do I do to center the text in the drop-down menu?

Hello Anders, try to add this CSS code as well:

#mainnav.mainnav ul.sub-menu li.menu-item a {
    text-align: center;
}

Kind Regards, Roman.