Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hi, I had a requirement to tweak the wording on this for a project so I thought I'd make a more flexible patch that allows an arbitrary label when not using the graphic.
Changes:
* Add 30 character limited text box in admin page for setting the button text, with "Back to top" as default.
* Pass the button text variable to the Drupal javascript object.
* Removed the width of the #back-to-top
div in the CSS to support the text so it doesn't break out.
Comment | File | Size | Author |
---|---|---|---|
back_to_top-edit_button_text.patch | 2.34 KB | n_potter |
Comments
Comment #1
acke CreditAttribution: acke commentedGood idea! I'll try the patch.
Comment #2
acke CreditAttribution: acke commentedThis is now fixed in HEAD / -dev version and going into the 1.4 release.
Thanx for making Back To Top better!