BuddyDev

Search

[Resolved] BuddyPress Activity ShortCode: how to hide “reply” and “Comment” tabs

  • Participant
    Level: Enlightened
    Posts: 39
    Tiziano on #41098

    Hello, I love BuddyPress Activity ShortCode. I’d like to hide “reply” and “comment” tab on the stream: https://prnt.sc/1wxuqxh

    Just to be clear, I like to see comments, I just would like to hide option to leave a comment and reply.

    Could you help me please?

    Thanks!
    Tiziano

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on #41100

    Hey There Tiziano,
    I Think You Could Use CSS to Hide The Elements you Don’t Want to Show
    Try Adding These Lines to Addtional CSS-

    .button.acomment-reply.bp-primary-action.bp-tooltip {
    display: none !important;
    }
    
    .acomment-reply.bp-primary-action {
    display: none !important;
    }

    Hope that Helps You 🙂
    Cheers, Cromacio

  • Participant
    Level: Enlightened
    Posts: 39
    Tiziano on #41102

    Hello Cromacio,

    it works, thanks!
    Tiziano

  • Participant
    Level: Enlightened
    Posts: 39
    Tiziano on #41186

    Hello Cromacio,
    I have one more question. The CSS code you provided hides “reply” and “commentes” tab everywhere. Is it possible to hide those buttons only on a specific page? Or at least into the page where we’re using the BuddyPress Activity ShortCode?

    Thanks for your help.
    Tiziano

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on #41189

    Hi Tiziano,
    Try Adding These, Just Replace the 01 Below by the Page ID on which You want them to Be Hidden.

    
    body.page-id-01.button.acomment-reply.bp-primary-action.bp-tooltip {
    display: none !important;
    }
    
    body.page-id-01.acomment-reply.bp-primary-action {
    display: none !important;
    }
    

    I’m Not a Pro though, Hence not Pretty Much Sure About that.
    Let me Know if That Works. 🙂
    If It Doesn’t I’m Sure that You Will be Getting it Answered by Someone Else Here.

    Good Luck,
    Cromacio

  • Participant
    Level: Enlightened
    Posts: 83
    Princy Cromacio on #41190

    Hey There,
    Just an Update. Try This Too-

    
    body .page-id-01.button.acomment-reply.bp-primary-action.bp-tooltip {
    display: none !important;
    }
    
    body .page-id-01.acomment-reply.bp-primary-action {
    display: none !important;
    }
    

    If This too Doesn’t Help You,
    Could You Share a Link to the Page where you Use Buddypress Activity Shortcode?
    It Will Let me Provide You Better Assistance.

    Cheers, Cromacio

The topic ‘ [Resolved] BuddyPress Activity ShortCode: how to hide “reply” and “Comment” tabs’ is closed to new replies.

This topic is: resolved