Scroll to Top of Page then 500 pixels Downward

I am using the Avada WordPress theme (latest version 6.2.3) with the latest 5.4.1 WordPress.

I want to put some code in the functions.php file in the child theme to automatically scroll to the top of the page then scroll downward 500 pixels.

I have tried many different things with jQuery, and I can’t get anything to work with all browsers. The Safari browser doesn’t work.

Does anyone know of code that will work for all browsers to accomplish this?

  • This topic was modified 1 day, 1 hour ago by bcworkz. Reason: resolved

Source link