# Button color changes

**URL:** https://meta.discourse.org/t/button-color-changes/91007
**Category:** Development
**Tags:** css
**Created:** [June 29, 2018, 1:15am UTC](https://meta.discourse.org/t/button-color-changes/91007 "2018-06-29T01:15:34Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![tyraniczar](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tyraniczar](https://meta.discourse.org/u/tyraniczar)
#### Post date: [June 29, 2018, 1:15am UTC](https://meta.discourse.org/t/button-color-changes/91007/1 "2018-06-29T01:15:34Z")

</div>

![34%20PM](https://global.discourse-cdn.com/meta/original/3X/a/b/abbc0cd3808e10f4a8de6d6fdc5aa100b44297ad.png) ![01%20PM](https://global.discourse-cdn.com/meta/original/3X/c/c/cca887af709ce27bcc6bed9c3ea498812df91358.png)Hello all, how do you change the orange default button color?  
I’ve changed it to the desired hex color in Settings\>Customize\>Colors but the buttons remain the default orange.

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [June 29, 2018, 1:27am UTC](https://meta.discourse.org/t/button-color-changes/91007/2 "2018-06-29T01:27:07Z")

</div>

Can you include a screenshot of the button in question and your colour settings? 🙂

---

<div class="post-metadata">

### Author: ![tyraniczar](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tyraniczar](https://meta.discourse.org/u/tyraniczar)
#### Post date: [June 29, 2018, 1:30am UTC](https://meta.discourse.org/t/button-color-changes/91007/3 "2018-06-29T01:30:03Z")

</div>

Yes, definitely! Just added them

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [June 29, 2018, 1:39am UTC](https://meta.discourse.org/t/button-color-changes/91007/4 "2018-06-29T01:39:34Z")

</div>

Oh right. The issue here is that that is not a button. 🙂

Use your Chrome inspector to find the CSS to target.

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/2/12562250d19ecda106a14ae857016311481a6594.png)

---

<div class="post-metadata">

### Author: ![tyraniczar](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tyraniczar](https://meta.discourse.org/u/tyraniczar)
#### Post date: [June 29, 2018, 2:24am UTC](https://meta.discourse.org/t/button-color-changes/91007/5 "2018-06-29T02:24:27Z")

</div>

Thanks, I was able to find it. The “background-color” isn’t a color item in Settings\>Customize\>Colors. Is this something I’d have to edit programmatically?

 ![29%20PM](https://global.discourse-cdn.com/meta/original/3X/a/e/aee893f6c3d8cc19dfa2a81e3eb3746505cbc5f7.png)

---

<div class="post-metadata">

### Author: ![HAWK](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hawk/32/86627_2.png) [@HAWK](https://meta.discourse.org/u/HAWK)
#### Post date: [June 29, 2018, 2:36am UTC](https://meta.discourse.org/t/button-color-changes/91007/6 "2018-06-29T02:36:02Z")

</div>

Correct. You can write some simple CSS.

Navigate to your active theme at `/admin/customize/themes/` and customise the CSS.

Adding this rule will make them green.

```
.nav-pills li.active a, .nav-pills li a.active {
color: #fff;
background-color: #090;
}

```

---

<div class="post-metadata">

### Author: ![tyraniczar](https://avatars.discourse-cdn.com/v4/letter/t/f1d935/32.png) [@tyraniczar](https://meta.discourse.org/u/tyraniczar)
#### Post date: [June 29, 2018, 2:38am UTC](https://meta.discourse.org/t/button-color-changes/91007/7 "2018-06-29T02:38:17Z")

</div>

> [@HAWK](#):
>
> .nav-pills li.active a, .nav-pills li a.active { color: #fff; background-color: #090; }

Fantastic, it worked like a charm.  
THANKS!!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [July 29, 2018, 2:39am UTC](https://meta.discourse.org/t/button-color-changes/91007/8 "2018-07-29T02:39:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [August 8, 2024, 9:31pm UTC](https://meta.discourse.org/t/button-color-changes/91007/9 "2024-08-08T21:31:40Z")

</div>

all this css is out of date now

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [August 9, 2024, 7:07am UTC](https://meta.discourse.org/t/button-color-changes/91007/10 "2024-08-09T07:07:30Z")

</div>


