← Back Button on pages

It would be nice to can add a back button on pages which links to the last anchor on a page I was before

3 Likes

It would be a great out of the box function, although you could add a code block at the top of the page to achieve the same result.

<!DOCTYPE html>
<html>
<head>
  <style>
    .nav-container {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      padding: 20px;
    }

    .nav-button {
      background-color: #f0f0f0;
      border: none;
      border-radius: 6px;
      padding: 10px 16px;
      width: 100px; /* Fixed width for uniform size */
      font-size: 14px;
      color: #333;
      cursor: pointer;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      transition: background-color 0.2s ease;
    }

    .nav-button:hover {
      background-color: #e0e0e0;
    }

    .nav-button:active {
      background-color: #d0d0d0;
    }
  </style>
</head>
<body>

  <div class="nav-container">
    <button class="nav-button" onclick="history.back()">← Back</button>
    <button class="nav-button" onclick="history.forward()">Forward →</button>
  </div>

</body>
</html>

5 Likes

Yeah, this is something we hope to add in the coming months along with native breadcrumb functionality! Thanks for sharing until that happens :raised_hands:t2:

3 Likes

thanks for the answer! it would be great, if i can edit the text of the button also in that case. :slight_smile:

Thank you! I’ll try this out!

Just change the text Back / Forward to what you want to display

← Back Forward →
1 Like