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

    Hi,
    We managed to replicate the nice behavior of the sticky header of the desktop style to the Mobile viewport (<768px). So the logo dynamically reduces its size when the sticky header fades in. Perfect!
    But unfortunately on iOS devices the logo stays big on sticky and overlaps the header. I attached the project link and our custom CSS. Do you have any hind what went wrong here? The responsive developer-view of OS Xs’ Safari does’t show the problem, it’s really just visible on native Iphones.

    Thanks a lot in advance!
    Tobias

    #1071563

    Hey check-t,

    Thank you for using Enfold.

    This css code should help limit the height of the logo on mobile view.

    @media only screen and (max-width: 767px) {
    .responsive #top .av_header_transparency .logo {
        height: 62px !important;
    }
    
    .responsive .logo img {
        max-height: 62px;
    }
    }

    Best regards,
    Ismael

    #1071703

    Hi Ismael,

    thank you for your reply and the great work of the whole team. This already helps to make the sticky header logo not overlap over the sticky header bar.

    But this CSS limits the hight of both, the large transparent logo and the sticky bar logo to 62px.
    What is the actual class of the sticky logo, we only want this should be smaller, transparent logo should remain as big as it is.

    Kind regards
    Tobias

    #1072108

    Hi,

    Thanks for the update. Try to move this code:

    .responsive #top .av_header_transparency .logo {
        height: 62px !important;
    }

    .. right after the other one and adjust the height value.

    Best regards,
    Ismael

    #1077405

    Hm, but this is exactly the CSS that is part of the former code. What should it change and how?

    Thank you!

    #1077408

    Ah, sorry, read it a second time. You mean moving it out of the ‘@media only screen’ to make it valid for all resolutions. Ok, we’ll give it a try. Thx!

    #1077556

    Hi,

    Did this work for you, or did you need additional help?

    Best regards,
    Jordan Shannon

    #1077828

    Hi Jordan,

    i’ll have to move the test of this a bit to the future, project is already life, big company, testing is organised in several steps.

    Thank you
    Tobias

    #1077879

    Hi,

    Okay. We’ll await the results.

    Best regards,
    Jordan Shannon

    #1108271

    Hi Jordan, thanks – it perfectly worked. Sorry, had another project to complete so the feedback took ‘some’ time.

    Kind regards!

    #1108332

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Mobile Sticky Headers' Logo to big, but only on Iphone, works with Chrome’ is closed to new replies.