How do I get the hmenu options to center on any monitor? (Simple center in css doesn't work on our site). I've tried to research options, but our coding seems a bit complicated.
www.sleepstudymo.com
Thanks in advance.
Don
How do I get the hmenu options to center on any monitor? (Simple center in css doesn't work on our site). I've tried to research options, but our coding seems a bit complicated.
www.sleepstudymo.com
Thanks in advance.
Don
Copyright © 2021 Jogjafile Inc.
You need to remove the
float: left;
from.sleep-hmenu
and addtext-align: center;
on.desktop .sleep-nav
:Or you can use
display: flex;
withflex-wrap: wrap;
on the.desktop .sleep-nav
element andmargin: 0 auto
onul.sleep-hmenu
: