This topic has 6 replies, 3 voices, and was last updated 9 years by iamj_kim.

  • Author

    Tagged: 

  • #39251
     adam
    Participant

    Hi – Is there a way to prevent the jump in the Member Directory to below the top bar/search bar on page 2, 3 etc.? It jumps right to the top of the member profiles right now, but I’d like to display the whole page. Thanks!

    #39609
     Abe
    Keymaster

    Hi, in the buddypress javascript from custom_buddypress/_inc/js should be the script responsible for that. It probably goes to a #div

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #39911
     adam
    Participant

    the only files i see in there are password files:
    password-verify.js
    password-verify.min.js

    #40089
     Abe
    Keymaster

    Sorry about misleading you, here is the path wp-content/themes/sweetdate/custom_buddypress/_inc/global.js

    probably this block:

    COPY CODE
    
    jq('html, body').animate({
    	scrollTop: jq(".item-list-tabs").offset().top
    }, 500);
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    ---
    @ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.

    #40169
     adam
    Participant

    thank you – i changed this to

    COPY CODE
    
    jq('html, body').animate({
    	scrollTop: 0;

    and that seemed to do the trick.

    #74226
     iamj_kim
    Participant

    That fix works, but produces the error ‘Uncaught SyntaxError: Unexpected token ;” Can someone produce the code that won’t produce this error and will still turn to pages 2,3,4, etc.?

    #74233
     iamj_kim
    Participant

    Please cancel that request. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Member Directory Pagination/Jump’ is closed to new replies.

Log in with your credentials

Forgot your details?