(Squarespace) How to move Pagination arrows above Comment

To move Pagination arrows above Comment, like this.

You can use this code to Code Injection > Footer

<script>
document.addEventListener('DOMContentLoaded', function() {
  var pagination = document.querySelector('.item-pagination[data-collection-type^="blog"]');
  var comments = document.querySelector('section.blog-item-comments');
  
  if (pagination && comments && comments.parentNode) {
    comments.parentNode.insertBefore(pagination, comments);
  }
});
</script>

1 Like