Please see the screenshot:
Looks great in mobile up to 767px. Won’t center from 768 to 989 then looks great over 990.
Can’t figure out why. Any ideas how to get the 768-990 centered like it is below 768?
Hey crtdude,
Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)
Best regards,
Vinay
I sure can:
Vinay, you have any luck with this? Seems relatively simple but the fix is eluding me.
Hi,
Try adding this css code in Quick CSS (located in Enfold > General Styling):
#top #header_meta .phone-info,
#top .av_secondary_right .sub_menu,
#top .sub_menu > ul {
float: none;
width: 100%;
text-align: center;
margin: 0 auto;
position: static;
}
#top #header_meta .sub_menu > ul > li {
float: none;
display: inline-block;
}
Hope it helps :)
Best regards,
Nikko
Thanks for the effort Nikko but that just centers things all the time. I only want centering to happen under 990px.
The way it is now everything looks fine 990 and above and below 768. It’s in between that it looks like the center panel of the screenshot I sent.
Hi,
I see, just replace the code I gave you with this:
@media only screen and (max-width:990px) and (min-width:768px) {
#top #header_meta .phone-info,
#top .av_secondary_right .sub_menu,
#top .sub_menu > ul {
float: none;
width: 100%;
text-align: center;
margin: 0 auto;
position: static;
}
#top #header_meta .sub_menu > ul > li {
float: none;
display: inline-block;
}
}
Let us know if this helps :)
Best regards,
Nikko
PERFECTION!! Thank you kindly.
Hi,
Glad we could help!
Please take a moment to review our theme and show your support https://themeforest.net/downloads
To know more about enfold features please check – http://kriesi.at/documentation/enfold/
Thank you for using Enfold :)
Best regards,
Basilis