This topic has 4 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #162017
     mohantyt
    Participant

    Hello,

    After selecting the filters and click on search button the results displayed just below the search filter block. I want to scroll down to the result block after click on search button.

    Steps 1: open link http://www.whitedate.net/search-members/

    Step 2: select i am a man and looking for a woman and click on search button.

    step 3: Now you have to scroll down to view the result.

    So i need auto scroll to the result block after getting the result.

     

    Thanks,

    Tushar

    #162199
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

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

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #162453
     Radu
    Moderator

    Hi,

    I’ve made this functionality and this will be implemented in next theme update until then you can use this JS code

    COPY CODE
    
    <script>
    jQuery(document).ready(function () {
    				var url = window.location.href;
    				if(url.includes('members') && url.includes('field_') && jQuery( "#main" ).hasClass( 'search-result' ) ) {
    					jQuery('html, body').animate({
    					scrollTop: jQuery("#main").offset().top
    					}, 1400);
    				}
    			});
    </script>
    

    Add it to wp-admin -> theme options -> Analytics code

    Cheers
    R.

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

    Hello,

    This auto scroll functionality not working with SAFARI BROWSER. Kindly fix this issue.

    Thanks,
    Tushar

    #163296
     Radu
    Moderator

    Tested and it works on my local install, I cannot see any issue with that

    Provide an account to can test live on your website.

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?