Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1464161
    #1464201

    Hey pelgrimrat,

    Thank you for the inquiry.

    When you start scrolling, the logo changes into a different, slimmer logo (text only).

    This is only visible when you intentionally scroll down a few pixels (10-20px) from the top. The transition you’re describing won’t be noticeable to most users, as they will likely scroll well beyond the fold after viewing the top content. If you’d like to adjust it, you can add this css code to completely hide the initial logo on scroll.

    .header-scrolled .logo .subtext > img {
        opacity: 0;
        display: none;
    }
    

    Best regards,
    Ismael

    #1464450

    Hi Ismael,

    Thank you very much for your reply!
    Your code works perfectly when scrolling down!

    When I scroll back up, there is still a transition visible which I don’t like: the “scrolled” logo is getting stretched before fading into the “full” logo.
    Is that transition also possible to hide with CSS?

    Thanks in advance.

    #1464458

    if it is only a matter of opacity – you can work with transition

    but best would be to see the site you like to have that to give better advice.
    f.e.:

    #header .logo img,
    #header.header-scrolled .logo img {
      transition : opacity 1s ease;
    }
    #1464503

    Hi,


    @pelgrimrat
    : Please try @Guenni007’s suggestion above and let us know if it works.

    Best regards,
    Ismael

    #1464519

    It works perfectly, thank you so much!

    Eventually, I used this code:

    .header-scrolled .logo .subtext > img {
        opacity: 0;
        display: none;
    }
    
    #header .logo img,
    #header.header-scrolled .logo img {
      transition : opacity 0s ease;
    }

    I think it looks perfect now, thanks again!!

    Page:

    This topic can be closed.

    #1464525

    Hi,

    Thanks for the update and for sharing, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Transition between logo and logo after scroll’ is closed to new replies.