Jump to content

Logo and menu to appear once scrolling

Recommended Posts

  • Replies 5
  • Views 849
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

31 minutes ago, Tom5362 said:

Site URL: https://www.wearesociety.co.nz/home-21

Hey team, hoping someone can help me. 

I am trying to make this page work so the logo and menu only appears once the user has scrolled past the big 'Society' logo on the home page on desktop. 

Any help would be much appreciated, cheers

 

https://www.wearesociety.co.nz/home-21

PW: 1852

Do your mean when you scroll back to this section, your header shows?

image.thumb.png.34102c3517cb206d2c3ae31fa3da9b9c.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - Lightbox captions only mode)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 No-code customisations for Squarespace
🚀 Learn how to rank new pages on Google in 48 hours!

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

Link to comment
On 4/18/2022 at 6:36 AM, Tom5362 said:

Hey man, 

So I want the small logo+menu items to not be visible when you first land on the page. Then once you start scrolling they appear. 

Does that make sense?

 

Cheers for your help

Add to Design > Custom CSS

header#header:not(.shrink) img, header#header:not(.shrink) .header-nav {
    opacity: 0;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • 2 years later...

Hello,

I hope someone can help me. 
I added the code for the menu appears after the scroll, and it works perfectly, thank you very much. However, I'd like this code to be active only on my homepage and not on the whole site. For the others pages, I want the menu to be visible from the start. Do you think this is possible? 

Many thanks in advance

Link to comment
On 9/4/2024 at 4:19 PM, M_dupless said:

Hello,

I hope someone can help me. 
I added the code for the menu appears after the scroll, and it works perfectly, thank you very much. However, I'd like this code to be active only on my homepage and not on the whole site. For the others pages, I want the menu to be visible from the start. Do you think this is possible? 

Many thanks in advance

If you use above code, change it to this

body.homepage {
header#header:not(.shrink) img, header#header:not(.shrink) .header-nav {
    opacity: 0;
}
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.