Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/21/2015 11:43:47 PM (10 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/groups/single/cover-image-header.php

    r10290 r10296  
    3030        <div id="item-header-content">
    3131
    32             <div id="item-buttons">
    33 
    34                 <?php
     32            <div id="item-buttons"><?php
    3533
    3634                /**
     
    3937                 * @since 1.2.6
    4038                 */
    41                 do_action( 'bp_group_header_actions' ); ?>
    42 
    43             </div><!-- #item-buttons -->
     39                do_action( 'bp_group_header_actions' ); ?></div><!-- #item-buttons -->
    4440
    4541            <?php
Note: See TracChangeset for help on using the changeset viewer.