# How do I set the background to a particular colour, rather than white? I can set the background for particular sections, but what about the overall background of the site?

**URL:** <https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667>\
**Category:** Ask the community\
**Tags:** question, wix-studio\
**Created:** [April 30, 2025, 7:08am UTC](https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667 "2025-04-30T07:08:24Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shaun\_Lotay](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/shaun_lotay/32/107651_2.png) [@Shaun\_Lotay](https://forum.wixstudio.com/u/Shaun_Lotay)\
**Post date:** [April 30, 2025, 7:08am UTC](https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667/1 "2025-04-30T07:08:24Z")

</div>

How do I set the background to a particular colour, rather than white? I can set the background for particular sections, but what about the overall background of the site?

Wix Studio

Take a look at this page I have created. [https://shaunlotay.wixstudio.com/my-site-8/blank](https://shaunlotay.wixstudio.com/my-site-8/blank) - As the page doesn’t fill the screen on all monitors, there is white space underneath the footer which I cannot seem to change. This affects all pages where the site content doesn’t fill the full screen height.

I have searched all the settings and help articles but have been unsucessful.

Thank you in advance for your help.

---

<div class="post-metadata">

**Author:** ![Pratham](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/pratham/32/119586_2.png) [@Pratham](https://forum.wixstudio.com/u/Pratham)\
**Post date:** [April 30, 2025, 7:34am UTC](https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667/2 "2025-04-30T07:34:22Z")

</div>

> [@Shaun\_Lotay](#):
>
> there is white space underneath the footer which I cannot seem to change.

The white space above the header and under the footer is **beyond** your page limits itself. So changing the page background will not solve that either.

Here’s a solution for that, all you have to do is change the HEX code to your desired one and copy - paste the code in your site’s custom code section through the dashboard. But using custom code is currently only available for premium sites so you will have to upgrade your site to a premium plan first.

> [@White borders on top and bottom of the screens / scrolly pages](https://forum.wixstudio.com/t/white-borders-on-top-and-bottom-of-the-screens-scrolly-pages/69663/2):
>
> I believe this is because by default, the site body has a transparent background, so when overscrolling in both directions, you’re scrolling past the content in the body, and therefore showing the color of the browser background. I’ve used this on one or two sites, but worth doing some testing yourself to make sure it doesn’t have any unintended side effects, but this added to the head of your site, via the Custom Code option should work \<style\> body, html { background-color: #000; /\* Or y…

---

<div class="post-metadata">

**Author:** ![Dan\_Suhr](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/dan_suhr/32/94074_2.png) [@Dan\_Suhr](https://forum.wixstudio.com/u/Dan_Suhr)\
**Post date:** [April 30, 2025, 11:02pm UTC](https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667/3 "2025-04-30T23:02:31Z")

</div>

as you are using Wix Studio why not set the section to be 100vh so you dont have the space under the footer.

---

<div class="post-metadata">

**Author:** ![Shaun\_Lotay](https://sea1.discourse-cdn.com/wix/user_avatar/forum.wixstudio.com/shaun_lotay/32/107651_2.png) [@Shaun\_Lotay](https://forum.wixstudio.com/u/Shaun_Lotay)\
**Post date:** [May 1, 2025, 10:22pm UTC](https://forum.wixstudio.com/t/how-do-i-set-the-background-to-a-particular-colour-rather-than-white-i-can-set-the-background-for-particular-sections-but-what-about-the-overall-background-of-the-site/70667/4 "2025-05-01T22:22:59Z")

</div>

Thank you Dan\_Suhr and Pratham. I have just upgraded to a premium site. When the domain connects, I will trial both methods and report back. I sincerely appriciate the support.
