Making WordPress.org


Ignore:
Timestamp:
03/03/2017 04:16:47 PM (10 years ago)
Author:
SergeyBiryukov
Message:

Support Theme: Hide Gravatars in topic lists with CSS if the Support Forums plugin is not yet enabled on the current site.

The plugin filters them out with code, this should keep visual consistency during the switch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-support/sass/site/_bbpress.scss

    r5054 r5055  
    715715
    716716.bbp-topic-meta {
     717        .bbp-topic-started-by,
    717718        .bbp-topic-freshness-author {
    718719                img.avatar {
    719720                        display: none; // Hides the avatar from single forum view.
     721                }
     722
     723                .bbp-author-avatar ~ .bbp-author-name {
     724                        margin-left: -3px; // Hides non-breaking space after the avatar.
    720725                }
    721726        }
Note: See TracChangeset for help on using the changeset viewer.