remove the #anchor-id

I just follow this instructions and works grate but I want to remove the #anchorid in the address bar I found this apparent solution but I dont know in what part should I do that change or if exist other solution, Thank you for your help in advance.

Hey Jon,

Welcome to the BB forums! :slight_smile:

We recently added that functionality to make it more flexible. Try adding the JS code below and see if it works for you. You can add it to the Tools > Global Settings > JS section.

	FLBuilderLayout._scrollToElement = function( element, callback ) {
		var config  = FLBuilderLayoutConfig.anchorLinkAnimations,
			dest    = 0,
			win     = $( window ),
			doc     = $( document );
			if ( element.length > 0 ) {			
				if ( element.offset().top > doc.height() - win.height() ) {
					dest = doc.height() - win.height();
				else {
					dest = element.offset().top - config.offset;
				$( 'html, body' ).animate( { scrollTop: dest }, config.duration, config.easing, callback );


1 Like

Hi Ben Carlo Thank you works grate, thank you for your work and the welcome.

Awesome! And no worries at all, Jon. :slight_smile:

Enjoy BB!