Tagged: mobile menu
-
AuthorPosts
-
May 31, 2019 at 6:51 pm #1105806
Hi, guys.
Have gotten a couple code snippets from old support issues. One to keep my header transparent at all screen sizes:
@media only screen and (max-width: 766px) { .responsive #top #main {margin-top: -80px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} }
and one to suppress the mobile menu at all screen sizes:
@media only screen and (max-width: 989px) and (min-width: 768px) .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item { display: block !important; } .responsive #top .av_mobile_menu_tablet .av-main-nav .menu-item-avia-special { display: none !important; }
Works pretty good, but if I reduce the width of my browser from wide to it’s most narrow (or view on iPad Pro 10.5” portrait) there is a gap in the screen size where the transparency changes to a black header and then resolves itself as you go more narrow. Is there a simple fix that will allow the header to remain transparent thru the entire range. This behavior is the same on all browsers tested.
Link to the site is in private content.
Thanks!
Bernie- This topic was modified 5 years, 6 months ago by berniedidit.
June 1, 2019 at 4:39 pm #1106126Hey berniedidit,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
@media only screen and (max-width: 990px) { .responsive #top #main {margin-top: -90px!important;} #top #wrap_all .av_header_transparency {background-color: transparent!important;} div#header_main > .container {display: block !important;} }
If you need further assistance please let us know.
Best regards,
VictoriaJune 1, 2019 at 5:35 pm #1106149Works beautifully. You guys are the best!
Cheers!June 2, 2019 at 11:20 am #1106329Hi berniedidit,
Glad we could help :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.