Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #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, 5 months ago by berniedidit.
    #1106126

    Hey 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,
    Victoria

    #1106149

    Works beautifully. You guys are the best!
    Cheers!

    #1106329

    Hi berniedidit,

    Glad we could help :)

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.