Click on a button then slide until a specified point on page

Before the update, when I had clicked on a button, then a smooth slide until the DIV ID was Ok, but now, there is no more smooth slide and the point is before the header menu.

Sorry my bad english :expressionless:

Example: http://187.61.52.106/wp/index.php/servicos/

Click on “Plano Diretor de Informática”

Hi,

Please see the changelog for version 1.34, point 2: https://athemes.com/changelog/sydney/

Here’s the theme’s code adapted to work with the links from your services row:


jQuery(function($) {
	$('.so-widget-sow-features a[href*="#"]').on('click',function (e) {
	    var target = this.hash;
	    var $target = $(target);

		if ( $target.length ) {
	    	e.preventDefault();
			$('html, body').stop().animate({
			     'scrollTop': $target.offset().top - 100
			}, 900, 'swing');
		}
	});
});

You can add it in this plugin.

Vlad! Thank you so much!!!