Jump to content

Shadow under website header

Recommended Posts

  • Replies 1
  • Views 559
  • Created
  • Last Reply
Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.