Jump to content

(HELP) Background behind website color

Recommended Posts

Hello,

I’ve been struggling to find a solution for this color setting on my website, the main background of my site is black but when pull the page up or down there is a white backdrop behind it. It’s vary apparent on the mobile version (especially iPhone) since the top portion of the screen is white. Please advise on how I can adjust this color to make it black. Thank you for any help!

IMG_0048.thumb.png.67fac3242d7181fdccee6abe56e4d093.pngIMG_0047.thumb.png.9606f82d3b993f69342fc77ae2d4b825.png

Link to comment
  • Replies 4
  • Views 1.6k
  • Created
  • Last Reply

Top Posters In This Topic

On 9/30/2023 at 8:37 AM, ShawnAP said:

Update: It seems to be only isolated to my lock page. Would it have something to do with my image used?

Try this new code

<style>
  @media screen and (max-width:767px) {
    body {overflow: hidden;}
    img {height: 100vh !important;}
  }
</style>

 

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

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.