Hi there,
I’m using the theme woffice, BuddyPress nouveau, BuddyPress Activity ShortCode and the plugin BuddyPress Edit Activity. All in the newest available Version.
Using BuddyPress Activity ShortCode with this shortcode: [activity-stream title=”” scope=groups max=3]
The list of the activities is appearing fine but there is a section under every post within the following tag.
<div class=” -meta action”>
I would like to delete / hide this section. It contains buttons, that allow to comment / edit the post and it contains information about how many comments happend. But their styling isn’t working properly.I can’t hide it by setting the css class to display:none;
Any Ideas on how to delete this section?
Hi Philippe,
Welcome to BuddyDev.Please use this css
.bpas-shortcode-activities .activity-meta{ display:none; }
That will hide it.
Regards
BrajeshHi Brajesh,
Thank you for your work.
The css is not working. I pasted it into my custom css but it has no outcome.
I tried the following css:
#activity-770 > div.activity-content > div.-meta.action
But that only hides the area from a specific activity. The problem also is that I only want to hide it from one list and not when the acivity is part of the normal buddypress stream.I also tried this selector which didn’t work:
div.textwidget > #buddypress > bpas-shortcode-activities activity shortcode-activity-stream > #activity-stream > groups activity_update activity-item > div.activity-content > div.-meta.action {}
Hi Philippe,
That should have worked.if it did not, can you please link me to the site where I can see it(with a guest user account).
It should be a simple task.regards
BrajeshThank you.
The problem is your theme uses dynamic context for the activity actions.
here is a solution(Though it may be problematic in future)
.bpas-shortcode-activities .activity-inner+div { display:none; }
Regards
Brajesh
The topic ‘ [Resolved] Hide in BuddyPress Activity ShortCode’ is closed to new replies.