• rosyteddy

    (@rosyteddy)


    In the activity stream Buddypress shows 5 comments when there are more than 5 comments with a “Show all X comments” link or button.
    This “Show all…” works in the default Twenty Fifteen theme but does not work in Farben Basic.

    Thanks for your help to solve this problem.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Since Farben Basic is created using Bootstrap, there is a class called “hidden” that for some reason is used by BuddyPress even though it is not included in the BP stylesheet.

    This is causing the issue. The JavaScript that controls the “Show All Comments” doesn’t actually remove the hidden class, instead it just changes the display to “list-item”.

    The workaround is to add this to the style.css file:

    #buddypress .activity-comments .hidden[style="display: list-item;"] {
    	display: list-item !important;
    	visibility: visible !important;
    }

    This fix will appear in the next release.

    Thread Starter rosyteddy

    (@rosyteddy)

    Hi c.bavota
    @c.bavota

    This fix does show all the comments, but irrespective of whether “Show all…” has been clicked or not.

    Thus if there are more than 5 comments (say, some 10 or 50 comments) other responsive themes like Mercury or Thaim will show just 5 comments and a “Show all….” link but Farben will show all the 10 or 50 comments at once.

    Please test with FRESH installs of WP 4.1.1 and BP 2.2.1 with clean browser cache.

    Thanks a lot. Looking forward for the fixed version.

    Yeah. Seems the only option is to remove the Bootstrap .hidden styles. Gonna do that in the next release. For now you can just delete it from style.css if you want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘All River comments not seen’ is closed to new replies.