The discussion revolves around finding alternative ways to return to the top of a topic on a Discourse platform. mattdamod proposed adding a “Return to top” link, as some community members found it difficult to navigate back to the start. Johani suggested that users can click on the title in the header to return to the top, and provided a CSS code to replace the origin date with a custom “Return to top” text. mattdamod appreciated the simple solution. Additionally, codinghorror pointed out three existing ways to return to the top: pressing the home key, clicking the static topic title, or clicking the date at the top of the timeline.
I have had a few members of my community ask if there could be a faster way of returning to the top of a thread. I have pointed out that the date to the side of the trhead can be scrolled and/or clicked to fast track back to the beginning, however, it’s that obvious.
We have a wide range of ages using our discourse platform, and for simplicity, it helps if we sometimes spell things out for them. For example:
The origin date is normally here, but is there a way I can replace that with what I propose in the image?
If that doesn’t work for your users and you still want to add “Return to the top” then add this to the common CSS tab of your theme
.timeline-date-wrapper .start-date {
&:before {
content: "Return to top"; // Change the text here
}
.d-label {
display: none; // hide the topic OP date
}
}