Comments Matthy started the conversationDecember 10, 2014 at 9:38pmOne page scrolling works when i put the # links in the menu bar but i can't get them to work when using the link in the button.[button color="see-through" hover_text_color_override="#fff" image="default-arrow" size="medium" url="#video" text="Video" color_override="#ffffff"]it goes straigth trough it. As extra informatie i put the button in the nectar slider (see image: http://pbrd.co/1x2Eiyb)Am i doing something wrong or is it only compatible with above menu?thx 8,846Tahir repliedDecember 11, 2014 at 2:10pmHey!For that you will have to edit the "Salient/js/init.js" . Please see screenshot: http://prntscr.com/5fk1ty . Thanks ThemeNectar Support Team Matthy repliedDecember 12, 2014 at 5:50pmHi Tahir, should i only change the thing to star? my code looks a little bit different, but i gues you guys are working hard under the motor. However it is not working, cleared the cache to prevent old code still running./* one page scrolling */function scrollSpyInit(){ $('body').scrollspy({target: '*',offset: $('#header-outer').height() + adminBarHeight + 15});} 8,846Tahir repliedDecember 13, 2014 at 4:17pmYes you need to change the target to "Asterisk" Star only and it should work for every button on the site. Thanks ThemeNectar Support Team Matthy repliedDecember 13, 2014 at 7:25pmWeird it does not work, well its no big problem, thx anyway. Sign in to reply ...
One page scrolling works when i put the # links in the menu bar but i can't get them to work when using the link in the button.
[button color="see-through" hover_text_color_override="#fff" image="default-arrow" size="medium" url="#video" text="Video" color_override="#ffffff"]
it goes straigth trough it. As extra informatie i put the button in the nectar slider (see image: http://pbrd.co/1x2Eiyb)
Am i doing something wrong or is it only compatible with above menu?
thx
Hey!
For that you will have to edit the "Salient/js/init.js" . Please see screenshot: http://prntscr.com/5fk1ty .
Thanks
ThemeNectar Support Team
Hi Tahir, should i only change the thing to star? my code looks a little bit different, but i gues you guys are working hard under the motor. However it is not working, cleared the cache to prevent old code still running.
/* one page scrolling */
function scrollSpyInit(){
$('body').scrollspy({
target: '*',
offset: $('#header-outer').height() + adminBarHeight + 15
});
}
Yes you need to change the target to "Asterisk" Star only and it should work for every button on the site.
Thanks
ThemeNectar Support Team
Weird it does not work, well its no big problem, thx anyway.