[buddypress-trac] [BuddyPress Trac] #6674: Cover Image: Remove #item-buttons DIV if element has no content for Groups component

buddypress-trac noreply at wordpress.org
Tue Oct 20 01:01:04 UTC 2015


#6674: Cover Image: Remove #item-buttons DIV if element has no content for Groups
component
-------------------------+-----------------------
 Reporter:  r-a-y        |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  2.4
Component:  Appearance   |    Version:
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------
 See ticket:6486#comment:11 and
 [https://wordpress.slack.com/archives/buddypress/p1445287706000116 some
 discussion on Slack about this].

 Attached patch works around this by removing all whitespace for the
 `#item-buttons` DIV for our custom `cover-image-header.php` template parts
 and uses the `:empty` CSS selector to remove the #item-buttons DIV if it
 is empty.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6674>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list