Jump to content

Custom image in background

Recommended Posts

I am trying to add a custom image to my website header, but am having no results when I attempt to add the below code:

/* Custom CSS code for header background image */
.header {
  background-image: url(https://static1.squarespace.com/static/63f5edffdc92952d50fcfc25/t/64afb9dde1e5fe459bdc6f6e/1689237982133/Header-panel.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

My site address is - https://www.chrismatekole.com/

Can anyone help and advise on why this might not be working? I'm also hoping to apply the code to the footer, therefore if anyone can help with this also, it will be much appreciated!

Thanks 😊

Link to comment
  • Replies 1
  • Views 384
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.