Jump to content

Image as Background on Single Page

Recommended Posts

I don't know very much about how to apply custom code, but I am using the Brine template in Squarespace 7.0. I am wondering if there is a way to apply custom code to single pages to allow an image to be used as a background on a page, but not the entire site. 

Thanks.

Howard

Link to comment
  • Replies 6
  • Views 670
  • Created
  • Last Reply

Top Posters In This Topic

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
On 3/19/2024 at 9:32 PM, creedon said:

Please post the URL for a page on your site where we can see your issue. For us to see the URL you need to include the link in the content of your post. The URL field the forum software provides is not shown to us.

A link to the backend of the your site won’t work for us, i.e. a URL that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

You may find How to post a forum question post useful.

We can then take a look at your issue.

Ah, now I understand. I have made the page better by adding a photo to it, but not as a background. But I was also wondering about any page on the site, if a photo can be used as the background on just one page.

Here is the URL for a page:

https://www.howardgrill.com/contact

 

Thank you!

 

Howard

Link to comment
On 3/21/2024 at 9:39 AM, HowG said:

Ah, now I understand. I have made the page better by adding a photo to it, but not as a background. But I was also wondering about any page on the site, if a photo can be used as the background on just one page.

Here is the URL for a page:

https://www.howardgrill.com/contact

 

Thank you!

 

Howard

You can use this code to Website > Website Tools > Custom CSS. Replace Pixabay with your image url

body#collection-53ec0b90e4b05b5aedd4998f main.Main {
    background-image: url(https://cdn.pixabay.com/photo/2024/03/05/22/04/bird-8615360_1280.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

Custom Css Menu Min

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment

@tuanphan thanks so much!

2 minutes ago, HowG said:

 

 

On 3/25/2024 at 3:43 AM, tuanphan said:

You can use this code to Website > Website Tools > Custom CSS. Replace Pixabay with your image url

body#collection-53ec0b90e4b05b5aedd4998f main.Main {
    background-image: url(https://cdn.pixabay.com/photo/2024/03/05/22/04/bird-8615360_1280.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
}

Custom Css Menu Min

 

On 3/16/2024 at 5:52 AM, tuanphan said:

You can share link to this page, we can give some code to achieve this

 

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.