Comments Karl started the conversationDecember 2, 2014 at 7:35pmHi,Back to top is not working on iphone or ipad, can you please advise?Cheers... 9,411Tahir repliedDecember 3, 2014 at 1:30pmHey!Its intentionally removed for mobile devices since swiping is the intended behaviour. Thanks Salient Support Team Karl repliedDecember 3, 2014 at 2:05pmHi,There should be an option to enable or disable this in the theme options, its very annoying having to scroll back to the top on an iphone.My client would like this option enabled, can you please tell me how to do so?Thanks 9,411Tahir repliedDecember 3, 2014 at 4:37pmHey!Add this into the Custom CSS box located in your Salient Options panel :@media only screen and (max-width: 1020px) { #to-top { display: block!important; } }Thanks Salient Support Team Karl repliedDecember 3, 2014 at 5:25pmHi, that did not work, there is an error on this line apparently -> display: block!important; 9,411Tahir repliedDecember 4, 2014 at 12:42pmHey!Thats not an error but a warning which can be ignored. Can you provide your site url so i can see why the css is not working. Thanks Salient Support Team Karl repliedDecember 4, 2014 at 3:35pmSure its http://trailwalkersireland.ie 9,411Tahir repliedDecember 5, 2014 at 3:45pmHey Karl!It seems to be working alright now that i see it : http://prntscr.com/5dfg1j . Thanks Salient Support Team Christopher repliedMarch 16, 2015 at 7:21pmHi. I tried this on my site and it didn't work. See screenshot. I'm on Salient 5.5.4. 9,411Tahir repliedMarch 17, 2015 at 3:03pmHey Christopher, The plugin does fire the event on ios so its not possible. Thanks Salient Support Team Christopher repliedApril 8, 2015 at 8:28amSo is there anyway to get the back to top button working? I've seen it work on other sites for mobile/IOS. Thanks 1,131ThemeNectar repliedApril 10, 2015 at 6:47amHey, you\'d need to mod the init.js file located in the js folder as well. Change this: function toTopBind() { if( $(\'#to-top\').length > 0 && $(window).width() > 1020) { to this: function toTopBind() { if( $(\'#to-top\').length > 0) { Cheers Andrei repliedApril 10, 2015 at 12:45pm--------------------------------------------Update--------------------------------------------changed back to a backup file of nectar-slider.js aswellit now works again.Be careful and do backup of entire site before trying these changes./best regards Andrei--------------------------------------------Update--------------------------------------------Hi there, I tried doing what you said, followed every instruction. But my website stopped working... I changed back to the original init.js file but nothing works on my site.... looks empty...why? I haven\'t taken any backup yet so every help I can get is much appreciated!!www.spannandelarande.seeverything is gone on the front end, but everything is there in the backend!! (see image)/best regards Andrei 9,411Tahir repliedApril 10, 2015 at 4:44pmI can see the frontend fine. Thanks Salient Support Team Sign in to reply ...
Hi,
Back to top is not working on iphone or ipad, can you please advise?
Cheers...
Hey!
Its intentionally removed for mobile devices since swiping is the intended behaviour.
Thanks
Salient Support Team
Hi,
There should be an option to enable or disable this in the theme options, its very annoying having to scroll back to the top on an iphone.
My client would like this option enabled, can you please tell me how to do so?
Thanks
Hey!
Salient Support Team
Hi, that did not work, there is an error on this line apparently -> display: block!important;
Hey!
Thats not an error but a warning which can be ignored. Can you provide your site url so i can see why the css is not working.
Thanks
Salient Support Team
Sure its http://trailwalkersireland.ie
Hey Karl!
It seems to be working alright now that i see it : http://prntscr.com/5dfg1j .
Thanks
Salient Support Team
Hi. I tried this on my site and it didn't work. See screenshot. I'm on Salient 5.5.4.
Hey Christopher,
The plugin does fire the event on ios so its not possible.
Thanks
Salient Support Team
So is there anyway to get the back to top button working? I've seen it work on other sites for mobile/IOS. Thanks
Hey,
you\'d need to mod the init.js file located in the js folder as well. Change this:
Cheers
--------------------------------------------Update--------------------------------------------
changed back to a backup file of nectar-slider.js aswell
it now works again.
Be careful and do backup of entire site before trying these changes.
/best regards Andrei
--------------------------------------------Update--------------------------------------------
Hi there, I tried doing what you said, followed every instruction. But my website stopped working...
I changed back to the original init.js file but nothing works on my site.... looks empty...
why? I haven\'t taken any backup yet so every help I can get is much appreciated!!
www.spannandelarande.se
everything is gone on the front end, but everything is there in the backend!! (see image)
/best regards Andrei
I can see the frontend fine.
Thanks
Salient Support Team