# Casper Theme Color Change

**URL:** <https://forum.ghost.org/t/casper-theme-color-change/13075>\
**Category:** Themes\
**Created:** [March 29, 2020, 1:52pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075 "2020-03-29T13:52:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![raaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raaf/32/7060_2.png) [@raaf](https://forum.ghost.org/u/raaf)\
**Post date:** [March 29, 2020, 1:52pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/1 "2020-03-29T13:52:30Z")

</div>

I’m new to the Ghost platform and I’ve been trying to change the color of the tags in each post via code injection without success.

Could I get some help with that?

I’ve successfully changed other things.

---

<div class="post-metadata">

**Author:** ![minimaluminium](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/minimaluminium/32/2652_2.png) [@minimaluminium](https://forum.ghost.org/u/minimaluminium)\
**Post date:** [March 29, 2020, 2:08pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/2 "2020-03-29T14:08:45Z")

</div>

Try this CSS. The first one selects post card tag and the other one selects single post tag.

```auto
.post-card-primary-tag,
.post-full-tags a {
    color: COLOR_VALUE;
}

```

---

<div class="post-metadata">

**Author:** ![raaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raaf/32/7060_2.png) [@raaf](https://forum.ghost.org/u/raaf)\
**Post date:** [March 29, 2020, 2:15pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/3 "2020-03-29T14:15:07Z")

</div>

Thanks for the response!

Unfortunately, it didn’t seem to work!

Here’s the [link](https://edsonchilundo.ghost.io) to my site to give you a clearer idea.

---

<div class="post-metadata">

**Author:** ![minimaluminium](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/minimaluminium/32/2652_2.png) [@minimaluminium](https://forum.ghost.org/u/minimaluminium)\
**Post date:** [March 29, 2020, 2:29pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/4 "2020-03-29T14:29:50Z")

</div>

I might have misunderstood your question, but the post tags are now in different color #AB4642. Wasn’t it the expected result?

![Screen Shot 2020-03-29 at 10.27.10 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/f/fc383effada120649349d3af8e19a48085c5930a.png)

---

<div class="post-metadata">

**Author:** ![raaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raaf/32/7060_2.png) [@raaf](https://forum.ghost.org/u/raaf)\
**Post date:** [March 30, 2020, 3:41am UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/5 "2020-03-30T03:41:07Z")

</div>

As you can see, it’s being applied in some posts and not others:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/f/feaaf800b1157f7929556c101a56f0b2d0e6459a.png)

The Disco Elysium post is fine though.

Additionally, the subscribe button did not change.

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [March 30, 2020, 4:34pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/6 "2020-03-30T16:34:23Z")

</div>

Looks like it’s updated now:  
 ![Screenshot 2020-03-30 at 17.33.45](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/c/c6aad517df5c3eb24da1e444d3337eec8131b08a.png)

---

<div class="post-metadata">

**Author:** ![raaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raaf/32/7060_2.png) [@raaf](https://forum.ghost.org/u/raaf)\
**Post date:** [April 6, 2020, 4:54pm UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/7 "2020-04-06T16:54:18Z")

</div>

Apologies for the late reply! You’re right, the updates have occurred.

Any tip for changing the color of the subscribe button too?

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [April 7, 2020, 8:33am UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/8 "2020-04-07T08:33:19Z")

</div>

The subscribe button uses CSS gradients, you could amend it to a flat red using `background: #e02929` but I thought you might want to have a red gradient. The code below should achieve that:

```auto
  .subscribe-overlay button {
    background: linear-gradient(#f05151,#e02929 60%,#e02929 90%,#e23636);
  }

```

---

<div class="post-metadata">

**Author:** ![raaf](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/raaf/32/7060_2.png) [@raaf](https://forum.ghost.org/u/raaf)\
**Post date:** [April 11, 2020, 1:07am UTC](https://forum.ghost.org/t/casper-theme-color-change/13075/9 "2020-04-11T01:07:30Z")

</div>

Thanks! I’ll try it out!
