Making WordPress.org

Changeset 4093


Ignore:
Timestamp:
09/18/2016 10:13:32 PM (8 years ago)
Author:
samuelsidler
Message:

Support Forum Theme: Make topic/reply author name more visible.

This also lowers the visibility of the role.

Fixes #2038.
Props SergeyBiryukov.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/content-single-topic-lead.php

    r1521 r4093  
    2222                <?php do_action( 'bbp_theme_before_topic_author_details' ); ?>
    2323
    24                 <?php bbp_topic_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>
     24                <?php bbp_topic_author_link( array( 'sep' => '', 'show_role' => true ) ); ?>
    2525
    2626                <?php bbp_user_nicename( bbp_get_topic_author_id(), array( 'before' => '<p class="bbp-user-nicename">@', 'after' => '</p>' ) ); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/bbpress/loop-single-reply.php

    r4079 r4093  
    2727        <?php do_action( 'bbp_theme_before_reply_author_details' ); ?>
    2828
    29         <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true, 'size' => 100 ) ); ?>
     29        <?php bbp_reply_author_link( array( 'sep' => '', 'show_role' => true, 'size' => 100 ) ); ?>
    3030
    3131        <?php bbp_user_nicename( bbp_get_reply_author_id(), array( 'before' => '<p class="bbp-user-nicename">@', 'after' => '</p>' ) ); ?>
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-forums/style.css

    r4088 r4093  
    274274}
    275275
     276#bbpress-forums div.bbp-topic-author a.bbp-author-name,
     277#bbpress-forums div.bbp-reply-author a.bbp-author-name {
     278    font-size: 13px;
     279    font-weight: bold;
     280}
     281
     282#bbpress-forums .bbp-author-role {
     283    margin: 0;
     284    border: 0;
     285    background-color: initial;
     286}
     287
    276288/* Colors */
    277289a {
     
    411423
    412424    #bbpress-forums .bbp-author-role {
    413         margin: -20px 0 0;
    414         padding: 0 6px;
     425        margin: 0;
     426        padding: 0;
    415427    }
    416428
Note: See TracChangeset for help on using the changeset viewer.