Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

moving blog pagination from bottom to top



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 post
  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...