I’d like to space the top menu items out evenly across the top of the entire page instead of aligned right.
I need that space to adjust based on screen width.
I tried this:
#menu-main-menu > li {
width: 15% !important;
}
@media screen and (max-width: 900px) {
#menu-main-menu > li {
width: auto !important;
}
}
Which doesn’t work.
Hi ewingmh!
can you provide us a link to your site showing the elements in question please? we need to be able to inspect the elements.
Best regards,
Andy
I did in the original post… here it is again:
http://www.faygirls.com/gallery/
Hi,
Please try something like this:
#main_menu {
width: 90%;
}
.av-main-nav-wrap {
width: 100%;
}
#top #header .av-main-nav > li {
margin-right: 10%;
}
You may have to adjust the values and/or add the !important statement at the end.
Best regards,
Rikard
Had to change a few thingsto get it to work at all.
It’s not responsive… Any way to do that? Also the menu items aren’t centered in the menu div.
Hi!
Please try this
.av-main-nav {
display:flex;
justify-content: space-between;
}
Best regards,
Vinay
cool – thanks. You guys never cease to amaze me with the level of support you provide.