Go back or specific article

2

I am wondering if there is a component that can be placed at the end of long articles, such as a return or breadcrumbs.


Since users have told me that it is annoying to scroll back up a very long article to return to the parent article.

Comments

  1. Re: Go back or specific article

    [1] Back to top button

    There is a back to top button in the default theme, however it is shown currently only on smaller screens, thought for keyboard-less devices. On the keyboard, [Pos 1] is available for this purpose.

    default.css
    CSS
    /* top button */
    @media (max-width: 700px) {
    	.totop-button {
    		right: 20px;
    		border-width: 0;
    		border-style: solid;
    		border-radius: 100%;
    		border-color: rgba(255, 255, 255, 1.0);
    		display: flex;
    		justify-content: space-around;
    		align-items: center;
    		position: fixed;
    		/* right: -100px; */
    		bottom: 50px;
    		width: 40px;
    		height: 40px;
    		z-index: 1;
    		box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
    		color: rgba(255, 255, 255, 1.0);
    		background-color: transparent;
    		transition: all 0.4s ease;
    		cursor: pointer;
    	}
    	/**/
    	.chevron-up:before {
    		content: "^";
    	}
    	a.chevron-up,
    	a.chevron-up:hover,
    	a.chevron-up:visited {
    		color: rgb(51, 51, 51);
    		text-decoration: none;
    		margin-top: 5px;
    		font-style: normal;
    		line-height: 1;
    		font-weight: 900;
    		font-size: large;
    		width: 100%;
    		text-align: center;
    	}
    }
    


    header.tpl
    <nav class="totop-button">
    	<a class="chevron-up" href="#top"></a>
    </nav>		


    You may want to remove the media query.

    [2] Navigation to next or previous article

    The navigation action allows to set a backward and forward link to scroll between pages.

    {{navigation [main="/Book"] [prev="ChapterOne"] [next="ChapterThree"] [table=0|1] [title=1]}}





    You even could use main="!", however this only works if self-referencing links aren't disabled.
    • WikiAdmin
    • 09/11/2025 05:03 edited
Log in or create an account to post a comment.