I've been searching for solution for some time, but cant figure out what's the problem.
I have installed Wordpress + Divi theme + BuddyPress plugin. But now, when I click on comments button, which should display a form to reply (and it does on other themes), nowthing happens. Well, the window scrolls up like 50-100 px, but the form display is not changing to "block" as it should.
Anyone had similar problem or know where the problem might lie?
Thanks for any help, Trawa ;)
So it seems the solution is to remove this code from the js/custom.js file, I just commented mine out:
$( 'a[href*=#]:not([href=#])' ).click( function() {
if ( $(this).closest( '.woocommerce-tabs' ).length && $(this).closest( '.tabs' ).length ) {
return false;
}
if ( location.pathname.replace( /^\//,'' ) == this.pathname.replace( /^\//,'' ) && location.hostname == this.hostname ) {
var target = $( this.hash );
target = target.length ? target : $( '[name=' + this.hash.slice(1) +']' );
if ( target.length ) {
et_pb_smooth_scroll( target, false, 800 );
if ( ! $( '#main-header' ).hasClass( 'et-fixed-header' ) && $( 'body' ).hasClass( 'et_fixed_nav' ) && $( window ).width() > 980 ) {
setTimeout(function(){
et_pb_smooth_scroll( target, false, 200);
}, 500 );
}
return false;
}
}
});
It worked for me. Hope it helps.