Jump to content

How to add a custom image to the header

Go to solution Solved by Spark-Plugin,

Recommended Posts

  • Replies 2
  • Views 427
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

  • Solution
Posted (edited)

Hi @Jasonyun, you can follow the steps below and use the code I’m providing to achieve what you need:

  1. Navigate to: Pages > Website Tools > Custom CSS
  2. Paste the code below into the CSS editor.
  3. Hit Save.
  4. Navigate toPages > Website Tools > Custom CSS
  5. Select ‘Custom Files’.
  6. Select ‘Add images or fonts’.
  7. Upload your image here.
  8. Now, look for the part in the code that says (IMAGE URL HERE). Delete the "IMAGE URL HERE" text, and leave the pipe symbol  (|) in place.
  9. Scroll to the top, click on Custom Files, then click on your image. Its link will automatically be inserted where you deleted the text.
  10. Hit Save and you're all set!
header#header {
  background-image: url(IMAGE URL HERE);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

Hope it helps!:)

Edited by Spark-Plugin

- Answered by Iuno from sparkplugin.com

forumsignature-recommendedcopy2.png.0579645eb1430dc7c1059541dc6456c6.png

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.