Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Hide tabs in activity stream


  • arwenmckenzie
    Participant

    @arwenmckenzie

    Anyone out there with a working css-snippet to hide the “all members” tab in the activity stream and also maybe to hide and tweak some of the droplist choices “everything” “new members” etc

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

  • colabsadmin
    Participant

    @colabsadmin

    #activity-all { display: none; }

    Note that I have no idea if that ID is used anywhere else.
    —————-
    In your child theme, copy/edit buddypress/activity/index.php. Look for

    <?php do_action( 'bp_activity_syndication_options' ); ?>

    All the options of that select are below it. Though, I’m a novice. There might be some easier way of doing it.


    arwenmckenzie
    Participant

    @arwenmckenzie

    Really appreciate your input but I was looking for something as simple as in hiding them using custom css. 🙂


    arwenmckenzie
    Participant

    @arwenmckenzie

    Managed to finally sort it out by myself using the following custom css

    .buddypress #buddypress div.dir-search input[type="submit"], .buddypress #buddypress .message-search input[type="submit"], .buddypress #buddypress .item-list-tabs ul li.selected a, .buddypress #buddypress .generic-button a, .buddypress #buddypress .submit input[type="submit"], .buddypress #buddypress .ac-reply-content input[type="submit"], .buddypress #buddypress .standard-form input[type="submit"], .buddypress #buddypress .standard-form .button-nav .current a, .buddypress #buddypress .standard-form .button, .buddypress #buddypress input[type="submit"], .buddypress #buddypress a.accept, .buddypress #buddypress #activate-page .standard-form input[type="submit"], .buddypress #buddypress .standard-form #group-create-body input[type="button"], .post-password-required input[type="submit"] {
    	display: none !important;
    }

    arwenmckenzie
    Participant

    @arwenmckenzie

    Thanks but no thanks. It’s not that kind of site that need a feature like that.


    arwenmckenzie
    Participant

    @arwenmckenzie

    I jumped the gun before and had removed all tabs including the send one. NOT so optimized as you’d think 😉

    here’s the solution which has now worked for me

    .buddypress #buddypress .item-list-tabs ul li.selected a, .buddypress #buddypress .generic-button a {
    display: none !important;
    }

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Hide tabs in activity stream’ is closed to new replies.
Skip to toolbar