• Resolved acarys1

    (@acarys1)


    WordPress 4.5.2
    Child theme of Twenty-Twelve

    https://www.gnarledcarrots.com/airstream-update-week-2/

    Whenever I reply to a comment on a post, a little blue “Post author” box is shown after my name. I cannot figure out how to change the color of this box.

    This appears to be a default color. None of my coding for comments has a color value attached to it. I’m assuming that I need to add coding to the style.css page, but can’t figure out what coding I need.

    I don’t want to change the entire comment’s background color, just the “Post author” background color.

    Also, if there’s any way to make “Post author” capitalized (i.e. “Post Author”), that would be great to know, too!

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey acarys1

    You can use this snippet in your child-themes style.css

    .bypostauthor cite span {
        /* change the colour hex value to the colour you prefer */
        background-color: #21759b;
        /* to capitalize the string */
        text-transform: capitalize;
    }
    Thread Starter acarys1

    (@acarys1)

    That fixed it. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change "Post Author" Color in Comments’ is closed to new replies.