Casper Theme Color Change

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.

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

.post-full-tags a {
    color: COLOR_VALUE;

Thanks for the response!

Unfortunately, it didn’t seem to work!

Here’s the link to my site to give you a clearer idea.

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

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

The Disco Elysium post is fine though.

Additionally, the subscribe button did not change.

Looks like it’s updated now:
Screenshot 2020-03-30 at 17.33.45

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

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

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:

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

Thanks! I’ll try it out!

1 Like