Center the Menu, when it breaks on a smaller display
Hello betheme,
is there a possibility if someone has a small screen that makes the menu centered?
If the screen is big enough, everything is in the middle, but if the screen is smaller, 3 menu items move to the left side.
Here is a picture:
https://imgur.com/a/D3evJ
But there are not always 3 menu items that jump down, but sometimes only 1 or 2.
The question is, how do I center everything that jumps into the second line?
Website: https://decentralbox.com/
Website: https://decentralbox.com/
Thank you so much!
Comments
this css should work for you. Please disable the autooptimize plugin for the css to work. thanks
But i didnt deactivate the autooptimize plugin.
If the code works, should I disable autooptimize anyway?
Best regards, and thank you so much !
that ist a awesome Support. So fast, wow.
Okay, thank you for this suggestion, but i always clear cache and autoptimize cache, if i add something new.
The Website is already created, and only new blog posts and article are new thinks we add.
I wish you a nice day, thank 4 helping us
Best regards from vienna
Your Code works, but now all submenu entrys are also in the middle. Is it possible, that only the mainmenu ist in the middle?
Website:
Decentralbox.com
Nice day