Jump to content

Can you Reverse/flip blog Pagination?

Recommended Posts

Site URL: https://climbingthespire.com/

I am trying to build a website for my webcomic, and among the people I've shared it with for feedback all of them have had one thing they asked me to change, which is the pagination. Due to how Squarespace sorts blogs by date of post, it means that if you start at the first and want to go to the next episode of the comic, the link is on the bottom left, not the right. Its a small thing but its not where people are used to looking, and it was enough of of a thing that the majority of them asked me to change it. 

 

Is it possible to flip the pagination in code to so that my "newer" post are on the right, and my "older" are on the left?

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

Add to Home > Design > Custom CSS

.item-pagination[data-collection-type^="blog"] {
    flex-direction: row-reverse;
}
.item-pagination-link {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}
.item-pagination-link--next {
    text-align: left !important;
    margin-left: 0;
    margin-right: auto;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
1 hour ago, tuanphan said:

Add to Home > Design > Custom CSS


.item-pagination[data-collection-type^="blog"] {
    flex-direction: row-reverse;
}
.item-pagination-link {
    text-align: right;
    margin-right: 0;
    margin-left: auto;
}
.item-pagination-link--next {
    text-align: left !important;
    margin-left: 0;
    margin-right: auto;
}

Thanks so much this worked perfectly! 

 

Link to comment

Archived

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.