imdanielduncan Posted November 24, 2022 Share Posted November 24, 2022 (edited) Site URL: https://imdanielduncan.com I'm trying to add a drop shadow to my fixed header on scroll with my Squarespace site, imdanielduncan.com. Everything I tried did not work. I was wondering if there is a way to do this using custom css. Edited November 24, 2022 by imdanielduncan I wanted to link my website URL right on the post, instead of someone having to type it in manually. Link to comment
Beyondspace Posted November 24, 2022 Share Posted November 24, 2022 2 hours ago, imdanielduncan said: Site URL: https://imdanielduncan.com I'm trying to add a drop shadow to my fixed header on scroll with my Squarespace site, imdanielduncan.com. Everything I tried did not work. I was wondering if there is a way to do this using custom css. You can try adding to Home > Design > Custom Css #header.shrink { box-shadow: 0px 2px 21px 4px rgba(0,0,0,0.75); -webkit-box-shadow: 0px 2px 21px 4px rgba(0,0,0,0.75); -moz-box-shadow: 0px 2px 21px 4px rgba(0,0,0,0.75); } Support me by pressing 👍 or marking as solution if this useful for you biaalvarez 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Beyondspace Posted November 24, 2022 Share Posted November 24, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
Beyondspace Posted November 24, 2022 Share Posted November 24, 2022 To modify the shadow as you wish, you can get the css code from the following link: https://cssgenerator.org/box-shadow-css-generator.html BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
imdanielduncan Posted November 24, 2022 Author Share Posted November 24, 2022 (edited) 25 minutes ago, Beyondspace said: To modify the shadow as you wish, you can get the css code from the following link: https://cssgenerator.org/box-shadow-css-generator.html Thanks! So how would I make it appear on scroll for my header in Squarespace? What would be the CSS I would use Edited November 24, 2022 by imdanielduncan I didn't like the way the question was phrased. Link to comment
Beyondspace Posted November 24, 2022 Share Posted November 24, 2022 Here is how to adding Css code: https://recordit.co/IRXOEYcCYQ BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace (+100 Spark plugin customisations) 🥳 Freemium Squarespace Widget Templates (+1000 Elfsight 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
imdanielduncan Posted November 24, 2022 Author Share Posted November 24, 2022 9 minutes ago, Beyondspace said: Here is how to adding Css code: https://recordit.co/IRXOEYcCYQ That worked. Thank you! Beyondspace 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment