Reply To: [Mobile] Landing page does not go to the button of the site

Support Forums Verde – WP Plugin [Mobile] Landing page does not go to the button of the site Reply To: [Mobile] Landing page does not go to the button of the site

#5881
CreaboxThemes
Keymaster

Hi,

that is the behaviour. The function goes to the begining of the contact section. But, it can be changed in the js function.
Edit the file verde_plugin/themes/js/scripts.js and change the code to this one:

jQuery('#link-map').on('click', function(event) {
var target = $(this.getAttribute('href'));
if( target.length ) {
event.preventDefault();
$('html, body').stop().animate({
scrollTop: target.offset().top+100
}, 1000);
}
});

I have added the value 100 to the function

Regards