Jump to content

moving blog pagination from bottom to top

Recommended Posts

Site URL: https://clownfish-cobalt-323r.squarespace.com/

I want to move the pagination for blogs from the bottom to the top.  It works intermittently ... only after refreshing page. Defaults to bottom of post unless page is refreshed. Tried Chrome incognito with same results.


Added this to the footer injection

<script>if (document.querySelector('.collection-type-blog.view-item')) {  var pagination = document.querySelector('.BlogItem-pagination'),      comments = document.querySelector('.BlogItem-comments');  comments.parentNode.insertBefore(pagination, comments); }</script>


Added this to the custom css

.BlogItem-pagination {  -webkit-box-ordinal-group: 1;  -ms-flex-order: 0;  order: 0;}


website: https://clownfish-cobalt-323r.squarespace.com/portfolio

password to view: BlaCkEy3d$usan!

Link to comment
  • Replies 2
  • Views 691
  • Created
  • Last Reply


This topic is now archived and is closed to further replies.

  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.