MyBB Community Forums

Full Version: insert a "return to top-button"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

How can I insert this button ( postbit ) bottom right in the forum?
I know that the link with the same effect appears on the left in the forum , many users want a Button ...

[Image: 2qsndlk.jpg]

Thanks for an answer :-)

i am just giving the basic stuff here...

add this to your footer template.....

<a href="#" class="scrollup">Go to Top</a>

and add this to your theme's global.css...

.scrollup {
opacity: 0.5;
position: fixed;
bottom: 10px;
right: 10px;

.scrollup:hover {
opacity: 1;

this will place a text to scroll to top.. you can define background color or a image and more css properties to .scrollup to make it look more beautiful... also you can use jquery for a smooth slide to top if you wish...
Thank you mmadhankumar!