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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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.