Post Title Font Size

  • flash1773


    Probably an easy fix, but can’t find it. How do I increase the font size of each post title and make it bold?


    – Eric



    (Moved to Support. Please post questions such as these in the support forum)

    Hi Eric,

    You can adjust the formatting of the Post Titles by adding this to your child theme stylesheet (or the custom css box in graphene options) and customizing it:

    .post-title, .post-title a, .post-title a:visited {
    border-bottom: 1px solid #E3E3E3;
    font: 18px arial;
    padding-bottom: 5px;

    You can use CSS to adjust any of the properties, or add your own. To increase font size and make it bold, you would have something like this:

    .post-title, .post-title a, .post-title a:visited {
    border-bottom: 1px solid #E3E3E3;
    font: 24px arial;
    font-weight: bold;
    padding-bottom: 5px;



    Worked great! Thanks!

    One other question, would it be easy to change “Leave a Reply” to “Leave a Comment”?



    Hmmm… try adding this to your child theme’s functions.php file (experimental):

    function graphene_filter_reply_text( $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_reply_text', 10, 3 );

    You should be able to change Leave a Comment to whatever you like.


    Kenneth John Odle


    Here’s how I did it:

    function comment_reform ($arg) {
    $arg['title_reply'] = __('If you've read this far, you have to leave a comment. That's the rule.');
    return $arg;

    Just added that to my child theme’s functions file. Note that because this is PHP, I had to escape the apostrophe’s.

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.
Graphene Themes Forum