Showing 1 – 4 of 4 replies
carlospologil

I'm experiencing problems with the […]

carlospologil PURCHASED
9 years ago
Hi there,

I'm experiencing problems with the click on buttons. It always points me to the same part of the HTML (features section) and cannot change the behaviour. It seems something is wrong in the js...

Help will be very welcome.

Thanks!
ThemeGuru
ThemeGuru SELLER
9 years ago
Hi carlospologil

Thanks for purchasing Lamap!

Those buttons are defined inside the main.js file. (line 48 till 61):

/* Buttons Scroll to Div */
$('.navbar-brand').click(function () {
$.scrollTo('.intro', 1000);
return false;
});

Change the classname .intro to the section you want.

Regards
ghettojutee
ghettojutee
9 years ago
In the example you show a button to app store. How could i use these buttons to link to another page?
ThemeGuru
ThemeGuru SELLER
9 years ago
Find this part inside the main.js file

/* Buttons Scroll to Div */
$('.navbar-brand').click(function () {
$.scrollTo('.intro', 1000);
return false;
});

$('.btn-custom').click(function () {
$.scrollTo('.download', 1000);
return false;
});

$('.btn-custom-border, a.mouse').click(function () {
$.scrollTo('.features', 1000);
return false;
});

Remove the middle piece of code for the download button.

Then you can fill in a URL between the a href="" in the HTML file.

Regards
ghettojutee
ghettojutee
9 years ago
thank you. it works.