Viewing 14 posts - 1 through 14 (of 14 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

    #1402968

    Hi Mike,
    I tried to follow your instructions, including empty the cache, but I see no difference. I’ve even check through WP interface checking with the theme editor. The modified file appears OK. The page is still scrolling

    https://ironmanech.com/#sponsors

    Do I miss something? Any idea?

    Thanks
    Best regards.

    #1403001

    Hi,
    Please include an admin login and FTP access in the Private Content area so we can check the file that you edited.

    Best regards,
    Mike

    #1403005

    Hi,
    in the private area.
    Best

    #1403218

    Hi,
    Thank you for your patience, I toggled the Enfold Theme Options ▸ Performance ▸ JS & CSS file merging and compression and Enfold Theme Options ▸ Performance ▸ Delete old CSS and JS files and now the buttons sponsors & press jump to the IDs on the homepage quickly, please clear your browser cache and check.

    Best regards,
    Mike

    #1403590

    Wah ! :-) Great, thanks!
    Shall I use the same process on another site, Enfold of course, or does your fine tuning is particular to that one?
    Best

    #1403591

    Hi,
    Yes, you can do the same to your other site, shall we close this then?

    Best regards,
    Mike

    #1403594

    Fast! :-)
    OK, thanks.
    Yep, you may close.
    Thanks again.
    JM

    #1403598

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘OnePage menu link without visible scroll’ is closed to new replies.