Jump to content

Hide logo when scrolling but keep the nav bar fixed

Go to solution Solved by Web_Solutions,

Recommended Posts

  • Replies 2
  • Views 996
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
37 minutes ago, cecilesablayrolles said:

Hello,

I would like to make the logo hide when scrolling but keep the navbar fixed on top, like this website: https://www.bobbies.com/en/1181-collection-women

Do you think it can be possible using SS 7.1?

Website is: https://twentytwoagency.squarespace.com/

Password: 1234

Thanks!

 

Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS.

.shrink {
    .header-display-desktop .header-title img{
        height: 0 !important;
    }
    .header-display-desktop .header-nav {
        margin-top: 0 !important;
    }
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment

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.