Replacing terms "Description" & "Bio" with "Details" & "Background"

Bortas
Bortas

I've been trying to use content:"example" to replace these headers on character and item pages, but I'm not having any luck. Anyone have a slick way of using a custom title in these spots? Thanks for your help,

-bort

Comments

  • cgregory
    cgregory
    Posts: 780

    You could try.

    div.description h6::after {

        content: "Example:";

        font-size: 14px;

    }

    div.description h6 {

        font-size: 0px;

    }

    and the same thing with bio

     

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Bortas
    Bortas
    Posts: 645

    Heyeah, that works! I was trying content() and was stuck.

    Unfortunately, it doesn't work on description, however, because of deSCRIPTion. Is there another way to call that, do you think?

    Thanks for your help,

    -bort

  • cgregory
    cgregory
    Posts: 780

    You could try

    #character-details div h6::after

    I don't think the placement will matter, because the bio one should be more specific, but to be safe I would place it before the bio one.

    They are among us!

    image

                       XCom: Defiance - Campaign of the Month November 2016

     

     

  • Bortas
    Bortas
    Posts: 645

    Ooooh, good call, not one I had tried yet. Still not quite there, I'm afraid. I gotta keep poking at it!

    -bort

  • Bortas
    Bortas
    Posts: 645

    I am a liar, that did on the character page, I was looking at the item page! I'm sure I can adapt this further.

    Thank you for your help!

    -bort

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