# 'background-color' not respected

**URL:** <https://forum.bootstrapstudio.io/t/background-color-not-respected/9323>\
**Category:** Bug Reports\
**Created:** [September 1, 2022, 3:07pm UTC](https://forum.bootstrapstudio.io/t/background-color-not-respected/9323 "2022-09-01T15:07:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![benthomaselwell](https://forum.bootstrapstudio.io/letter_avatar_proxy/v4/letter/b/53a042/32.png) [@benthomaselwell](https://forum.bootstrapstudio.io/u/benthomaselwell)\
**Post date:** [September 1, 2022, 3:07pm UTC](https://forum.bootstrapstudio.io/t/background-color-not-respected/9323/1 "2022-09-01T15:07:06Z")

</div>

Current project I’m working on - I had added some custom button styling.  
I had added ‘background-color: black’ to the .btn class. This was applying a black background to my buttons. Since the update, all the button background have changed colour back to bootstrap primary colour.

background: black; this works

background-color: black; this no longer works.

---

<div class="post-metadata">

**Author:** ![jo-r](https://forum.bootstrapstudio.io/user_avatar/forum.bootstrapstudio.io/jo-r/32/1926_2.png) [@jo-r](https://forum.bootstrapstudio.io/u/jo-r)\
**Post date:** [September 1, 2022, 5:12pm UTC](https://forum.bootstrapstudio.io/t/background-color-not-respected/9323/2 "2022-09-01T17:12:22Z")

</div>

Just guessing here, but it may be because of the new bg color utility classes that were added? Take a look at the documention at Bootstraps website to see what changed and you’ll see what I mean there.
