Jump to content

Change top and bottom background color on iPad.

Go to solution Solved by Web_Solutions,

Recommended Posts

hi. I would like to change the top and bottom of the website background color that is visible when scrolling.

It works fine on PC and mobile phone, but when I open the website on iPad, the top and bottom background colors visible when scrolling are white.

I want to change the white color to #F9F9F5.
Thank you!

website: https://seonto.kr

Link to comment
  • Solution
7 hours ago, seonto said:

hi. I would like to change the top and bottom of the website background color that is visible when scrolling.

It works fine on PC and mobile phone, but when I open the website on iPad, the top and bottom background colors visible when scrolling are white.

I want to change the white color to #F9F9F5.
Thank you!

website: https://seonto.kr

Can you try with the code below? Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS. Let me know if it's working. 

html, body {
    background: #F9F9F5 !important;
}

 

If my comments are useful, please like and mark my solution as answer. It will encourage me. Thanks

MD Rofik
Website Designer and Digital Marketer

Am I helpful? Want to offer me a coffee?
Send me a message if needed any help. I'll try to reply as soon as possible.


 

Link to comment
On 1/3/2024 at 7:45 PM, Web_Solutions said:

Can you try with the code below? Add these code on Custom CSS panel in Website Utilities Website Tools > Custom CSS. Let me know if it's working. 

html, body {
    background: #F9F9F5 !important;
}

 

It's works!! Thank you very much!!

Link to comment
  • 7 months later...

hello all! does it also works on every site with a different color?

how i need to change the code so i can use on every page a different color? 
 

thanks a lot for your help!

-

html, body {
    background: #4f1210 !important;
}

Edited by ZEJA
Link to comment
On 9/3/2024 at 12:31 AM, ZEJA said:

hello all! does it also works on every site with a different color?

how i need to change the code so i can use on every page a different color? 
 

thanks a lot for your help!

-

html, body {
    background: #4f1210 !important;
}

You can use this code to Individual Page Header Injection

<style>
  section, .section-background, .section-border {
  	background-color: transparent !important;
  }
  body {
  	background-color: #f1f !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.