Very customizable and lightweight back to top 🔝 solution.
Fully compatible with
Full Site Editing themes and with classic themes if block editor is enabled.
How this differs from other similar plugins?
This is a block, inside which you can insert any other block. This makes it utmost customizable. By default, a button block with inline image is inserted, but you can remove it and insert any other block you wish or customize default button or insert your own image. As button is a normal WordPress block, you can customize it like you would normally do, pick background color or foreground color from sidebar, choose border radius for edges, or anything else which is customizable in block editor.
Features (block editor sidebar)
- In the block sidebar, it is possible to choose if the block will appear both on desktop and mobile variant of page and breakpoint between the two.
- Choose page scroll mode when clicked on button: smooth or instant.
- Opacity of the block.
- Duration of slow appearance ("fade in").
- Position of the block from bottom right corner of the browser window, in css unit by choice.
- Go to bottom functionality.
You can install the plugin in usual way, however, the easiest way to get it is in block editor, by entering search phrase 'back to top' or similar while inserting new block with '+' sign in top bar.
"Usual" way:
- Install the plugin through the WordPress plugins screen directly or upload the plugin files to the
/wp-content/plugins/makeiteasy-back-to-top
directory.
- Activate the plugin through the 'Plugins' screen in WordPress
1.2.1
Added automatic change to "go to top" (flip of the block) from "go to bottom" mode if bottom of page is reached.
1.2.0
Block updated to v3 API
1.1.1
Update incorrect description how to insert block in footer in classic theme. Added example for GeneratePress theme.
Fixed block to appear on right side in editor while classic theme is active.
Fixed Go to bottom function not working in some instances.
1.1.0
Introduced option "Go to bottom"
1.0.1
- Fix for incorrect alt attribute on inline image inside button on default template - thanks @thisbit (Elvis Krstulović) for testing and spotting.
1.0.0