This topic has 4 replies, 3 voices, and was last updated 10 years by daniellemarie.

  • Author
  • #9476
     daniellemarie
    Participant

    Hi,

    I’m having issues with the width of the add/remove/cancel friendship button (.bp-member-dir-buttons div.generic-button a) and the way it sits on the members page.

    By default, the width of this button is 100% but it sits incorrectly on my site – see here http://i44.tinypic.com/243nwbn.png

    I’ve had to change the CSS for the button, including the width, to make it sit better. However, I still have issues when you view page 2 of the members page.

    Can you please have a look and tell me why this might be happening? I’d like to remove the CSS I’ve had to add, so possibly there is another issue that i can’t see.

    Thanks for your help

    #9477
     daniellemarie
    Participant
    This reply has been set as private.
    #9561
     frien337
    Participant

    I had the same issue and I have actually disabled them on the members page and only left the button to show on the profile page. To do so add this to your functions.php file in your child theme directory:


    function remove_friendship_button() {
    remove_filter( 'bp_directory_members_item_last','kleo_bp_member_dir_friend_button', 11);
    }
    add_action( 'bp_directory_members_item_last', 'remove_friendship_button' );

    #9584
     Abe
    Keymaster

    Hi, We just saw this issue and next update will include the fix. Until then you can add this css to fix it:
    div.friendship-button-ext {display: inline-block; margin-right: 5px;}

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #9692
     daniellemarie
    Participant

    Thanks

Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?