How do I change color of "Leave a Reply" and "Comments"

  • lunerunit

    #5163

    How can I change the color of “Leave a Reply” above the comments box, as well as “comments” when someone leaves a comment? Also how do I change the wording above the comments box from “Leave a Reply” to “Leave a Comment”? Is there a way to make the comments box smaller?

    Here’s an example:

    http://www.sportsmanskihaus.com/fall-patagonia-is-here

    Thanks again for all of your help! Our site finally went live and after I tweek it a bit more, I’ll display it in your showcase! Love the theme!

    Anonymous

    #30913
    Quote:
    How can I change the color of “Leave a Reply” above the comments box,

    #comments > h4, #respond > h3, h3.author-post-list {
    color: #123456;
    }

    Quote:
    Also how do I change the wording above the comments box from “Leave a Reply” to “Leave a Comment”?

    This custom function goes in your child theme functions.php file. If it is blank, start with <?php and close the code with ?>

    function graphene_filter_gettext( $translated, $original, $domain ) {
    $strings = array(
    'Leave a Reply' => 'Leave a Comment',
    );
    if ( ! empty( $strings[$original] ) ) {
    $translations = &get_translations_for_domain( $domain );
    $translated = $translations->translate( $strings[$original] );
    }
    return $translated;
    }
    add_filter( 'gettext', 'graphene_filter_gettext', 10, 3 );

    Quote:
    Is there a way to make the comments box smaller?

    #commentform textarea {
    width: 500px;
    }

    lunerunit

    #30914

    Worked great as usual! Thanks Prasanna! Really appreciate it!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!