Changing Character Link Color

Leonidas300
Leonidas300

I've seen where some folks have been able to do this but I have been unable to duplicate. Can someone tell me how to do it?

Comments

  • Abersade
    Abersade
    Posts: 295

    If you are meaning that you want to change the character link names in the character page to a specific color, the following code should work (just change the color to whichever you want).


    .character-index.campaign-public-layout .title a {color: gold;}

    If you'd like the color changed everywhere BUT the character page use the following code, just keep in mind that because it uses the !important tag there may be a more nuanced approach.


    .wiki-content-link {color: gold !important;}

    If you want both just use:


    .wiki-content-link, .character-index.campaign-public-layout .title a {color: gold !important;}

    If this isn't what you are looking for please go into a bit more detail about what it is that you want changed.

  • Leonidas300
    Leonidas300
    Posts: 272

     

    Abersade, thanks for the comment. What I'm trying to do is in the adventure log, there is the ability to insert a character link that when you mouse over the link it shows a pic of the character. The link color is baby blue which does not show up well on my adventure log background. I'm trying to change that link color while retaining the mouse over function. I've see a couple other campaigns do this but am unable to pull the code using the inspect function.

  • Abersade
    Abersade
    Posts: 295

    The second option in the link above should work for your purposes, just keep in mind that it changes the character names on all pages that aren't the character list page, not just in the adventure logs.

Sign In or Register to comment.

October2022
Wildside

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