Please add hover text functionality.
This would help visitors know what the button is for.
You could make it so we could put anything as the hover text.
Or, you could make the hover text generic, like “Back to Top”.
Thank you!
P.S. – Your plugin works great!
]]>I just notice a small styling bug in your css file
<installdir>/htdocs/wp-content/plugins/tipu-scroll-to-top/css/stt-admin-styles.css
The following style “breaks” the Customize pages
.wp-picker-container, .wp-picker-container:active {
position: absolute !important;
margin-top: -12px;
}
Making margin-top: 0; solves the problem.
I have played around with your plugin after this change and this change doesn’t seem to break anything else.
]]>Firstly, that’s for sharing your work with the community. Appreciated. It is a simple but nice plugin – the best I tried after much looking around.
I have come across this problem. The stt_container element is displayed when I open/reload the page, even when it is at the top of the screen. I have created a quick fix for it, but perhaps you could add it to your plugin?
/* Fix – prevents Scroll To Top button to appear at page load */
#stt_container {
display: none;
}
Cheers
A
Fatal error: Cannot redeclare load_plugin_textdomain() (previously declared in ***/wp-includes/l10n.php:663) in /***/wp-content/plugins/tipu-scroll-to-top/index.php on line 32
]]>