# How to creat an background color on HTML?

**URL:** https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246
**Category:** Lounge
**Created:** [February 15, 2019, 1:55am UTC](https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246 "2019-02-15T01:55:42Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![fiorasyndra1](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@fiorasyndra1](https://forums.realmacsoftware.com/u/fiorasyndra1)
#### Post date: [February 15, 2019, 1:55am UTC](https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246/1 "2019-02-15T01:55:42Z")

</div>

I just finished a new design and have a small problem. I want the background-color: 000; grows with the content and that without a fixed height.  
I remove min-height: 500px; the background disappears completely.  
CODE  
1.body {  
2.background-color: #151515;  
3.font-family: averia\_sans\_librelight;  
3.color: #fff;

---

<div class="post-metadata">

### Author: ![swilliam](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/swilliam/32/14799_2.png) [@swilliam](https://forums.realmacsoftware.com/u/swilliam)
#### Post date: [February 15, 2019, 2:55am UTC](https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246/2 "2019-02-15T02:55:17Z")

</div>

Do you actually have any content in the page?  
Page type? Theme?  
Have a url so we can see what’s going on.

Not enough info to help.

---

<div class="post-metadata">

### Author: ![fiorasyndra1](https://avatars.discourse-cdn.com/v4/letter/f/8e8cbc/32.png) [@fiorasyndra1](https://forums.realmacsoftware.com/u/fiorasyndra1)
#### Post date: [February 15, 2019, 3:08am UTC](https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246/3 "2019-02-15T03:08:15Z")

</div>

I just made a background color for my page, it is trial page :3

---

<div class="post-metadata">

### Author: ![swilliam](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/swilliam/32/14799_2.png) [@swilliam](https://forums.realmacsoftware.com/u/swilliam)
#### Post date: [February 15, 2019, 3:25am UTC](https://forums.realmacsoftware.com/t/how-to-creat-an-background-color-on-html/25246/4 "2019-02-15T03:25:34Z")

</div>

I understand that, but without knowing what theme you are using or what you are seeing or a url to look at it’s very difficult to know what is causing an issue.

Most themes have settings in the up for this sort of thing.
