Jump to content

Add Strip in header with gradient colors or image option

Go to solution Solved by Ziggy,

Recommended Posts

Hi,

I want to add a strip to the header with gradient colours ( prefer hex code or decimal code for custom colour) or add a background image into the strip instead.

I'm able to add the strip and solid colour but couldn't figure out how to add the gradient or image.

Screenshot 2023-07-13 215021.png

Link to comment
  • Solution

Try this Custom CSS and adjust the colours:

header {
  border-image: linear-gradient(to right, darkblue, darkorchid) 1;
border-width: 35px 0px 0px 0px;
border-style: solid;
}
footer {
  border-image: linear-gradient(to right, darkblue, darkorchid) 1;
border-width: 0px 0px 35px 0px;
border-style: solid;
}

Give me a thumbs up if that works!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment
1 minute ago, Designosaur said:

Thank you for your time and effort. Working perfectly fine.

Not a problem, thanks for the like!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

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