-
AuthorPosts
-
March 18, 2023 at 6:57 pm #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 regardsMarch 18, 2023 at 10:22 pm #1401645Hey 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,
MikeMarch 25, 2023 at 3:59 pm #1402470Hi Mike,
sorry for the question but where do I find the js>avia file?
Thanks.
Best
JMMarch 25, 2023 at 4:07 pm #1402474Hi,
In the theme files, via FTP you will find it at /wp-content/themes/enfold/js/avia.jsBest regards,
MikeMarch 25, 2023 at 4:09 pm #1402475OK, thanks.
I was looking for it through the classical WP Interface in the editor. I go to the ftp, then
BR
JMPS : what a reactiv support!!! :-)
March 25, 2023 at 5:23 pm #1402487Hi,
Glad to help, let us know when this works for you and we will close the thread.Best regards,
MikeMarch 29, 2023 at 9:06 pm #1402968Hi 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 scrollinghttps://ironmanech.com/#sponsors
Do I miss something? Any idea?
Thanks
Best regards.March 30, 2023 at 11:40 am #1403001Hi,
Please include an admin login and FTP access in the Private Content area so we can check the file that you edited.Best regards,
MikeMarch 30, 2023 at 12:08 pm #1403005Hi,
in the private area.
BestApril 1, 2023 at 4:55 pm #1403218Hi,
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,
MikeApril 5, 2023 at 11:19 am #1403590Wah ! :-) Great, thanks!
Shall I use the same process on another site, Enfold of course, or does your fine tuning is particular to that one?
BestApril 5, 2023 at 11:21 am #1403591Hi,
Yes, you can do the same to your other site, shall we close this then?Best regards,
MikeApril 5, 2023 at 11:40 am #1403594Fast! :-)
OK, thanks.
Yep, you may close.
Thanks again.
JMApril 5, 2023 at 11:51 am #1403598Hi,
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 -
AuthorPosts
- The topic ‘OnePage menu link without visible scroll’ is closed to new replies.