Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #1148028

    Hi

    OBJECTIVE:
    Transparent Header to behave the same on mobile as desktop.
    – different transparent header appears when page/post header set as transparent
    – the transparent header is NOT sticky (sticky header under enfold settings is un-ticked)

    I added quick CSS:

    @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;
    }

    The above doesn’t seem to work.
    …. oddly, I did get this work yesterday but the logo was sticky.

    Thanks

    Richard

    #1148835

    Hey richardbeatty,

    Thank you for sharing the details.

    Please remove your code and try the below CSS

    
    /* Transparent header on 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;
    }}
    
    
    /* Sticky header on mobile */
    @media only screen and (max-width: 767px) {
      .responsive #top #wrap_all #header {
        position: fixed !important;
      }
    }

    Please bookmark Enfold Documentation for future reference.

    Thank you for using Enfold :)

    Best regards,
    Vinay

    #1148905

    Code is added as quick css, flushed cache,
    Not working yet.
    Example page attached.
    I viewed on both iPhone and iPad.
    Kind regards
    Richard

    #1149260

    Hi Richard,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    The code Vinnay gave you works, but also makes the header transparent.

    Best regards,
    Victoria

    #1149439

    pls see credentials
    I appreciate you looking into this.

    The code currently inserted in quick CSS:

    /* Transparent header on mobile FROM ENFOLD SUPPORT TICKET */
    @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;
    }}
    /* Sticky header on mobile */
    @media only screen and (max-width: 767px) {
    .responsive #top #wrap_all #header {
    position: fixed !important;
    }
    }

    Regards

    Richard

    #1149837

    Hi Richard,

    https://cl.ly/59c96addf500 IS this what you intended?

    Best regards,
    Victoria

    #1149851

    Hi

    Yes BUT the transparent logo image previously uploaded into enfold / header / transparency is different from the desktop logo shown in the screenshot.

    Your further help is appreciated.

    Kind regards

    Richard

    #1150237

    Hi Richard,

    The logo does not change if the header transparency is not enabled in the Theme options. It has to be changed in by JavaScript then or css.

    Best regards,
    Victoria

    #1150243

    Hi Victoria

    The header transparency is set in theme options.

    The thread has stalled a little here. To recap, transparent header works great on desktop but does not work on mobile.

    Please advise.

    Thank you

    Richard

    #1151117

    Sorry I changed accidentally the login credentials please see.

    #1151482

    Hi richardbeatty,

    I am confused now, header transparency does not really work as it should on the desktop right now either.

    Please deactivate all caching plugins one by one to check which one is causing this issue and let us know if this solves the problem.

    Best regards,
    Victoria

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