Head Guru 106 Posted March 14, 2019 Share Posted March 14, 2019 I am using the Deflection theme for 4.4 and am wanting to put an arrow at the bottom right of my site to return to the top of the forum. How can I do this please? I do not believe there is a plugin for that. I believe it would be a theme edit, but don't know what to put. Thanks in advance. Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
titcrunch 182 Posted March 14, 2019 Share Posted March 14, 2019 add this in global template : <div id="scrollUp"> <a href="#top"><img src="your-image.png"/></a> </div> and this in your custom css #scrollUp { position: fixed; bottom : 10px; right: -100px; opacity: 0.5; } 1 Best Regards Titcrunch French webdesigner in camel Design, Support, help and tutorials in : Forum Camel Design. Link to comment Share on other sites More sharing options...
Head Guru 106 Posted March 15, 2019 Author Share Posted March 15, 2019 12 hours ago, titcrunch said: add this in global template : <div id="scrollUp"> <a href="#top"><img src="your-image.png"/></a> </div> and this in your custom css #scrollUp { position: fixed; bottom : 10px; right: -100px; opacity: 0.5; } Thank you, I will give this a try on my next site update tomorrow. Do you have a recommendation as to the size the back to top image should be? Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
Head Guru 106 Posted March 15, 2019 Author Share Posted March 15, 2019 13 hours ago, titcrunch said: add this in global template : <div id="scrollUp"> <a href="#top"><img src="your-image.png"/></a> </div> and this in your custom css #scrollUp { position: fixed; bottom : 10px; right: -100px; opacity: 0.5; } Thank you. I just had to change the right: -100px; and make it right: +10px; instead of -100 to make it show on screen. The -100 had it off screen and so you could only just see the side of the icon. But got it sorted. Thanks heaps. 1 Head Guru - Personal Blog: https://www.zacdrayson.com |Business Website: https://www.hydrawebservices.com Link to comment Share on other sites More sharing options...
Recommended Posts