Change Color of Particular Text

Adoraith
Adoraith

I would like to change the circled text below white. Can someone kindly assist?

 

 

 

Comments

  • ragnarhawk
    Posts: 168 edited February 2021
    I think that these should do the trick:

    .quick-stats-container .stat-value time {color: white;}

    .quick-stats-container .stat-value {color: white;}

    .fan-counter-container .count, .fan-counter-container .count-label {color: white;}

    .comment-count-container .count, .comment-count-container .count-label {color: white;}


    FYI, "Inspect" in your browser is a great tool to find the container names for things like this. Just right click on the specific area that you are interested in, and choose "Inspect"
    Post edited by ragnarhawk on
  • Adoraith
    Adoraith
    Posts: 62 edited February 2021

    Thanks!  Am I able to insert the color code rather than the word white into that value?  Thinking about messing around with a few values.

    disregard, I figured this question out.
    Post edited by Adoraith on
  • Adoraith
    Adoraith
    Posts: 62

    I am having trouble getting the Play Status value "Playing" to show up in white. 

    I thought that the following would work but I am missing something.

    .quick-stats-container .stat-value playing {color: white;}

  • thaen
    thaen
    Posts: 1,064

    It looks like the class selectors are being overridden by an id selector that's specifying "black".  (See screenshot below.)

    So you just need this in your custom CSS to override the black (#000000) and make it white (#FFFFFF):

    #campaign-quick-stats .stat-value {color: white;}

     

    image

     

    Obsidian Portal Developer

  • Adoraith
    Adoraith
    Posts: 62

    Thank you kindly!

  • thaen
    thaen
    Posts: 1,064

    @ragnarhawk did all the real work.  : )

    Obsidian Portal Developer

Sign In or Register to comment.

March 2024
Wrath of the Highborn

Read the feature post on the blog
Return to Obsidian Portal

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Discussions