InsideTheSquare.co

View Original

How to add a background image to a Squarespace form

See this content in the original post

This tutorial was recorded using Squarespace 7.1 and these codes will not work on legacy sites built on version 7. For more information, visit insidethesquare.co/themes

Tired of staring at that plain white background on your contact form?

Let's add a gorgeous custom background image with a few lines of code!

This tutorial will teach you how to upload the image & customzie the code to make your contact forms uniquely yours.


If this is your first time using CSS for Squarespace, awesome! ๐Ÿ™Œ I have a lot more to teach you - check out my free class on basic CSS for Squarespace here: insidethesquare.co/learn

See this content in the original post
See this content in the original post

Step one: upload your custom image (website โ†’ website tools โ†’ custom css โ†’ custom files)

Step two: add this CSS code to your website

.sqs-block-form{

background-image: url(image-url-here);

background-size: cover

}

Step three: update the placeholder url in bold with the url for the image that you uploaded

Step four: pat yourself on the back; youโ€™re a coder now! ๐Ÿ™Œ๐ŸŽ‰

Want to add an image to a specific form?

You can use a block ID or install the code on a single page. Check out the related content links below to learn more:

See this content in the original post

โญ๏ธ Free Class on CSS for Squarespace

๐Ÿ“บ How to customize one thing with code

๐Ÿ“บ How to add CSS to one page of your website