Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
cmac723

Adding background image to one page in Bedford

Question

I have tried every code I can find on this forum. noting works totally. I got to a point where I got the background image on but then all of the text I couldn't see. I tried to add transparent and take down the opacity to no avail. Please help! I know nothing of CSS coding just messing around a bit to see what I can learn. Thanks!

Edited by cmac723
Initial Revision

Share this post


Link to post

7 answers to this question

Recommended Posts

  • 1

First, you need to find PAGE ID. See how to: https://beaverhero.com/squarespace-how-to/#HowtoFindPageIDThen add to Home > Design > Custom CSS


body#collection-52d8053ce4b0e26973428261 #siteWrapper {
   background-image: url(http://www.hanoi-office.com/themes/frontend/img/img_about.jpg);
   background-position: center center;
   background-size: cover;
   background-repeat: no-repeat;
}



COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

 

Share this post


Link to post
  • 0

OMG you are amazing! I found the body id and put the url in. I know nothing about coding but it didn't work until I put at the end. Do you always put that in the code or only sometimes? Anyway it worked! Thanks so much!!

Edited by cmac723
Initial Revision

Share this post


Link to post
  • 0

@cmac723 You can insert to Home > Design > Custom CSS with my code (I sent above)

Or if you want to insert to Inject code (Header), use


<style>
my css I sent
</style>

Sometimes you will need add !important to after to CSS work.eg. background-repeat: no-repeat !important;

An element can use a lot of CSS. CSS use Important will have a higher priority.If two CSS use !Important, the below CSS will have a higher priority


COVID-19Free priority support for all users (29/03 - 30/04). You can tag me (@tuanphan) or send to my email.

With paid support, see here

 

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...