Jump to content

Shadow under website header

Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
22 hours ago, huntersgaragellc said:

Site URL: https://www.huntersgaragepa.com/

Hi! I need some help to make a shadow under the website header of my website that shows itself once the user starts scrolling. I would like if it disappeared when the user goes back to the top of the page. 

If you can help me, I would be very thankful.

What inspired this was the website header for Juniper Books.

 

try

header.shrink {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 0 16px 0 rgb(0 0 0 / 50%);
}

image.png.88e275b0bbf3648f3c62df0b18d9a744.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date format)
💫 Animated Buttons (Referral URL)
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

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

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.