You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I was customizing my blog, I suddenly thought it might be a good idea to add a button to scroll to top/bottom on header bar, because some of my articles were long and wanted to navigate people to the prev/next series at the bottom in case they wants to go. (In my website, the footer is not visible on non-bottom of the page in mobile.)
You can see the new button added left to the palette button.
You can see my HTML file for this, JS file for this, and CSS file for this in case you are interested. Amount of code is small, although some JS code needs to be integrated with existing TS code in theme, if this is going to be implemented as built-in.
I think this feature is good to add as optional feature of theme like palette. What do you think about this?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I was customizing my blog, I suddenly thought it might be a good idea to add a button to scroll to top/bottom on header bar, because some of my articles were long and wanted to navigate people to the prev/next series at the bottom in case they wants to go. (In my website, the footer is not visible on non-bottom of the page in mobile.)
Demo: https://blog.mcdic.net/
You can see my HTML file for this, JS file for this, and CSS file for this in case you are interested. Amount of code is small, although some JS code needs to be integrated with existing TS code in theme, if this is going to be implemented as built-in.
I think this feature is good to add as optional feature of theme like palette. What do you think about this?
Beta Was this translation helpful? Give feedback.
All reactions