How to Add a Gradient Overlay to Squarespace Background Images

In this tutorial, I'll show you how to add a gorgeous gradient overlay to your page section backgrounds (aka hero images or banner images) using simple custom code. Whether you want to improve text readability or add a professional design touch, this effect will transform your site's look in minutes!

 

Here are the codes from this tutorial. I want to encourage you to get creative with these! Update the values to match your own unique website and try some of the additional gradients in my free guide:

/* gradient overlay code from insidethesquare.co */
.section-background-overlay{
  opacity:1!important;
background: linear-gradient(to bottom, transparent, #000)!important
}
 
insidethesquare

Squarespace Circle Leader & Creator of InsideTheSquare.co

https://insidethesquare.co
Next
Next

How to add a tagline to Squarespace 7.1