Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/21/2015 11:43:47 PM (4 years ago)
Author:
r-a-y
Message:

Cover Image: Remove empty #item-buttons DIV with CSS.

To remove the empty #item-buttons DIV with CSS we have to remove all
whitespace from the DIV and then use the :empty CSS selector.

The other CSS declarations are some improvements with spacing and clearing
regarding the cover image block.

Hat-tip hnla, imath.

Fixes #6674.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php

    r10290 r10296  
    3636            <?php endif; ?>
    3737
    38             <div id="item-buttons">
    39 
    40                 <?php
     38            <div id="item-buttons"><?php
    4139
    4240                /**
     
    4543                 * @since 1.2.6
    4644                 */
    47                 do_action( 'bp_member_header_actions' ); ?>
    48 
    49             </div><!-- #item-buttons -->
     45                do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons -->
    5046
    5147            <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
Note: See TracChangeset for help on using the changeset viewer.