I have a site at peter-test4.co.uk I am trying to centrally align the menu above the featured images on each page. Can you please help see http://www.peter-test4.co.uk.
Many thanks and happy new year
Pete
give this a try:
@media only screen and (min-width: 990px) {
.html_header_top.html_logo_center #top #header_main_alternate .main_menu {
width: 100%
}
.html_header_top.html_logo_center #header_main_alternate .main_menu #avia-menu {
display: flex !important;
flex-flow: row nowrap;
justify-content: space-evenly;
}
.html_header_top.html_logo_center #header_main_alternate .main_menu .av-main-nav > li > a {
padding: 0 !important;
font-size: 19px !important;
}
}
i guess you will set the header widget to display none on small screens
@media only screen and (max-width: 989px) {
#header .widget {
display: none;
}
}
by the way: is it intentional that the container width is set to 1130px ?
it is working – and my snippet is working too. But i wouldn’t make that space between your navigation and the first section not by setting up a margin top/bottom on color section. This looks bad on responsive case.
you could have done this:
#header_main_alternate {
margin-bottom: 40px;
}
because header_main_alternate goes to display: none in responsive case – there will be no distance then between header and main.