Tagged: 

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1416941

    Hi,

    Is there any way to make the header be white and transparent on mobiles ? My goal is to have the same effect as desktop site.
    I tried to check all the previous threads but nothing works on my side…

    Thanks!

    #1416944

    Hey ThibUbi,
    Can you link to your page so we can examine?

    Best regards,
    Mike

    #1416948

    Hi, yes I forgot it, it’s been added t the private content.

    I found a way to make it works but it might be the less optimized option.

    Below the quick CSS I added :

    /*Logo size mobile*/
    @media only screen and (max-width: 767px) {
    .responsive .logo img {
    margin: 0 auto;
    max-width: 200px !important;
    margin-left: -3px!important;
    margin-top: 18px!important;
    }
    }

    /*Transparent header in Mobile*/
    @media only screen and (max-width: 767px) {
    #top #wrap_all .av_header_transparency, .av_header_transparency #advanced_menu_toggle {
    background: transparent!important;
    position: absolute!important;
    }}

    /*white logo in mobile header*/
    @media only screen and (max-width: 767px) {
    .responsive #top .av_header_transparency.av_alternate_logo_active .logo a > img {
    opacity: 0 !important;
    }
    .responsive #top .av_header_transparency .logo img.alternate {
    display: block !important;
    }}

    /*white burger in mobile header*/
    @media only screen and (max-width: 767px) {
    span.gold-rate-symbol,#top #wrap_all .av_header_transparency .main_menu ul:first-child > li > a {
    color: #fff !important;
    }
    .html_mobile_menu_tablet .header_color div .av-hamburger-inner, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::before, .html_mobile_menu_tablet .header_color div .av-hamburger-inner::after {
    background-color: #fff !important;
    }
    }

    @media only screen and (max-width: 991px) {
    .home #masthead-mobile {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: transparent;
    }}

    Thanks for your help ! I use enfold for my site since 4 years.

    #1416969

    Hi,
    Thank you for the link to your site, I see your css is working and I don’t see any reason to adjust it, well done.
    Unless there is anything else we can assist with on this issue, shall we close this then?

    Best regards,
    Mike

    #1416982

    Yes alright you can close, it’s been a long time I’ve worked on this issue and I suprisingly found the final answer just after my request.

    I might have another issue but it’ll be another thread.

    Thanks for your help !

    #1416984

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Header on mobile’ is closed to new replies.