How to Add a Glassmorphism Header to Squarespace 7.1

Give your website a premium, editorial edge with a custom-coded "frosted glass" navigation bar. Perfect for high-end portfolios, creative agencies, and modern brands looking to stand out.


.header-announcement-bar-wrapper {
  background: rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  
  border-radius: 50px !important; 
  width: 90% !important;
  margin: 20px auto 0 !important;
  left: 0 !important;
  right: 0 !important;
  
  transition: all 0.3s ease;
}

How to Install

  1. Copy the CSS code from the code block.

  2. Log in to your Squarespace Dashboard and navigate to Website > Website Tools > Custom CSS.

  3. Paste the code at the very bottom of your editor window.

  4. Click Save and refresh your site to see the magic happen.

⚠️ Ensure your header layout is set to 'Fixed'.


Customization Tips

Want a darker look? Or perhaps a stronger blur? Adjust these two variables in the snippet:

  • Blur Intensity: Change 12px to 20px for a more "opaque" frosty look.

  • Opacity: Change 0.4 in the background rgba color to 0.7 for a more solid background color.

Previous
Previous

Add a "Back to Top" Button