Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • @workinclasshero

    Participant

    Be careful using this function because I used it on the friends tab and it removed the ability to accept friend requests. It is much easier to just target the specific tab using css such as:

    #friends-personal-li{
    display:none;
    }
    #groups-personal-li{
    display:none;
    }
    #notifications-personal-li{
    display:none;
    }

    This will remove the items but will allow friends requests to still function properly.

    @workinclasshero

    Participant

    The problem is you need to store the result in a variable like this:

    $userID = $bp->displayed_user->id;

    I know this is an old thread but it might help someone down the road.

    @workinclasshero

    Participant

    You dont need to wrap these with a div. To make YouTube responsive just use the same styling you would to make images responsive.

    Here’s what I used on the default theme for buddypress

    iframe, video, img {
      max-width: 100%;
      min-height: auto;
    }

    The “min-height:auto” which is usually just “height:auto” for images I used because the videos were being pushed really flat. This fixed that problem and the videos don’t look the best on small phones but at least now they are viewable.

Viewing 3 replies - 1 through 3 (of 3 total)
Skip to toolbar