How to Add a Gradient Effect to a Shape on Squarespace
Adding a gradient effect to a shape on your Squarespace website is a fantastic way to enhance the design, and add detail to what would otherwise be a very boring element within your website. I will take you through how you can do this for your site on Squarespace within this tutorial.
Watch The YouTube Video
Watch the YouTube version of this tutorial for a more visual look at this topic.
Adding A Gradient Effect To A Shape On Squarespace
Step 1: Add Your Shape
Make your way to your Squarespace editor.
Select Add Section > Add Block > Shape and select your desired shape
Step 2: Remove The Opacity
Select the Edit (pencil) icon.
Select Color and change the shape color to white.
Adjust the opacity to 0.
Select save.
This step is crucial for ensure the shapes ‘default color’ does not go on top of the gradient.
Step 3: Find The Block ID Using Squarespace ID Finder
Add THE Squarespace ID Finder extension to your browser.
Select the plugin using the puzzle icon in the top right corner to reveal the IDs on your page.
Simply select the block ID that will appear above your shape to copy the code.
Step 4: Apply the Gradient Using Custom CSS
Navigate to Design > Custom CSS.
Paste the following CSS code:
css
Copy
#block-INSERT-YOUR-ID-HERE { background: linear-gradient(135deg, #1a1a1a, #005bbb); border-radius: 10px; /* Optional: Rounds the corners */ border: 1px solid rgba(255, 255, 255, 0.2); /* Optional: Light outline */ }
Replace
INSERT-YOUR-ID-HERE
with the ID you saved from earlier.Select save.
Step 5: Adjust the Gradient
Open Google Hex Colour Picker to find colours that you like.
Replace
#1a1a1a
and#005bbb
with your preferred hex codes.To modify the angle, adjust the
135deg
value.
Any Questions?
My name is Jacob, your expert Squarespace designer. I have helped hundreds of businesses in multiple industries. If you have any questions after reading this article, feel free to contact me through WhatsApp.
If you’d like to discuss a potential design project, you can email me at jacobchivers@chiverscrafted.co.uk or contact me here.
Thanks for reading.