Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1401622

    Hi,
    I have a Onepage menu with anchors logically targeting different locations in the page. When clicking, it scrolls to the right place in the page.

    Is that possible not to display the scroll effect in order to directly display the targeted content?
    Best regards

    #1401645

    Hey Ad-Min747,
    As I understand your question, you would like to disable the scroll spy script so the scroll is faster.
    Please try to modify the js > avia.js file then look for this code:

    		//smooth scrooling
    		if( $.fn.avia_smoothscroll )
    		{
    			$('a[href*="#"]', container).avia_smoothscroll(container);
    		}

    and remove it, Then clear your browser cache and any cache plugin, and check.

    Best regards,
    Mike

    #1402470

    Hi Mike,
    sorry for the question but where do I find the js>avia file?
    Thanks.
    Best
    JM

    #1402474

    Hi,
    In the theme files, via FTP you will find it at /wp-content/themes/enfold/js/avia.js

    Best regards,
    Mike

    #1402475

    OK, thanks.
    I was looking for it through the classical WP Interface in the editor. I go to the ftp, then
    BR
    JM

    PS : what a reactiv support!!! :-)

    #1402487

    Hi,
    Glad to help, let us know when this works for you and we will close the thread.

    Best regards,
    Mike

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.