We are the SoftSprint team developers since 2012 which is experienced in PrestaShop, WordPres and CakePHP. We are proud being an oficial partner of Thirty Bees and Agile ServeX Inc, which are specialized in PrestaShop. Besides our modules could be bought on the official PrestaShop Addons Marketplace. 
Germany - Ukraine SoftSprint 

Smooth scrolling WordPress Script

Recently, I faced with the common for the WordPress sites task – it was necessary to make a smooth scroll to the target element on the page when you click on a link in the site menu. Actually, it is – the standard functionality of any modern Landing. In our case, the problem was to use pure JavaScript without connecting any frameworks like jQuery.
The network knows many WordPress plugins for smooth scrolling, for example: https://ru.wordpress.org/plugins/tags/smooth-scroll
But all of us know that the installation of any additional plugin in our site reduces its hacking security. In most cases, WordPress sites are hacked through the plugins – make conclusions!
So, the following code is written for a slow (smooth) scrolling on the page: