Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #574319

    Hello. I have a fixed nav enabled for mobile with this code here:

    `@media only screen and (max-width: 1100px) {
    #top #wrap_all .av_header_transparency {
    background-color: transparent !important;
    position: fixed !important;
    }}

    I was wondering if you could assist with making it so that the logo is not fixed while the menu icon remains fixed.

    #575225

    You’d need to target the toggle and not the whole header section, this could work:

    a#advanced_menu_toggle {
        position: fixed;
        top: 50px;
        right: 50px;
    }

    Regards,
    Josue

    #575666

    Works! However, for some reason the background of the header is no longer transparent.

    I had to alter the code within this css snippet to make it so that it was no longer fixed, but when I did so, the transparency disappeared:

    @media only screen and (max-width: 1100px) {
    #top #wrap_all .av_header_transparency {
    background-color: transparent !important;
    position: scroll !important;
    }}

    I changed the position from fixed to scroll. Could you please help me with this?

    #575842

    Hey!

    Please use following code instead

    .av_header_transparency #advanced_menu_toggle {
        background: transparent !important;  
    }

    Regards,
    Yigit

    #575973

    hmm the header bg now appears white and the toggle bg is transparant.

    #577214

    Hey!

    Please use following code adjust the colors of mobile menu on transparent header

    .av_header_transparency #advanced_menu_toggle {
        background: white !important;  
        color: orange !important;
        border-color: green !important;
    }

    Best regards,
    Yigit

    #577352

    Hi! Great, that fixes the colors of the toggle. However, the entire header bg still remains white and not transparent.

    #577389

    Hey!

    .av_header_transparency #advanced_menu_toggle {
        background: transparent !important;  
        color: orange !important;
        border-color: green !important;
    }

    Please change the code with that and let us know if it fixes the issue

    Cheers!
    Basilis

    #577405

    When I changing the background function to transparent it affects the background color of the toggle and not the entire header area.

    #577448

    Hello.

    I entered in this code you guys provided from one of my other enfold sites and it worked:

    @media only screen and (max-width: 767px) {
    #header, #header * { background: transparent !important; }
    #header { position: absolute !important; }
    }

    Thanks guys.

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘fixed navigation icon, scroll logo on mobile’ is closed to new replies.