Jump to content

Wanting a smooth transition when logo disappears on scroll

Recommended Posts

I have the below code added to my site and while it is working to remove the logo on scroll the transition is harsh. Is there a way to make it smoother? Perhaps to shrink or fade out?

I would also like the logo to disappear once you hit the second black section. Is this possible? Thank you!

/* Change logo on scroll */
.shrink .header-title-logo img {
    visibility: hidden;
    transition: fade 0.3s;

Edited by nicole1994
Link to comment
  • Replies 1
  • Views 425
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.