Skip to:
Content
Pages
Categories
Search
Top
Bottom

How ca I disable nested replies in activity?

  • Avatar of Gene53
    Gene53
    Participant

    @gene53

    I’d like to disable nested replies because everything is squished and looks shabby when there are multiple indented replies, Can that be done?

    Thanks

    *Latest WP & BP versions w/ default theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    “Latest WP & BP versions w/ default theme”
    First, it’s better to create a child theme so that when you upgrade BuddyPress, your revisions won’t be erased

    Add to the bottom of your child theme’s style.css
    `div.activity-comments ul li > ul {
    margin-left: 0px;
    }`

    Avatar of Gene53
    Gene53
    Participant

    @gene53

    Thanks @mercime

    That lessened the indentation between nested replies but there’s still a +/- 10px indent after each one of them.

    At least, it looks a lot better now. :D

    Cheers1

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @Gene53 I missed one more. Add this:
    `div.activity-comments ul li { margin-left: 0px; }`

    Avatar of Gene53
    Gene53
    Participant

    @gene53

    Thanks @mercime

    Works like a charm!

    :D

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Cheers. You can also put them together like this
    `div.activity-comments ul li,
    div.activity-comments ul li > ul {
    margin-left: 0px;
    }`

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

You must be logged in to reply to this topic.