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

Changing blog post pagination in Squarespace from Previous/Next


JoHo23

Question

Site URL: https://www.isabelhagen.com/episode-list/6b

Hello,

Looking to change the "Previous/Next" navigation to "Newer/Older", in that order. Using York theme. No CSS I am finding works 😞 Most CSS has not made any effect. However, trying this

Quote

.BlogItem-pagination-link--prev
{display: none;}
.BlogItem-pagination-link--next
{display: none;}

eliminated the links altogether, but couldn't figure out the right tweak to just change the text. Having the title of the blog post (in this case podcast title) is still desired.

Thank you!!!!

Link to comment

5 answers to this question

Recommended Posts

  • 0

Anyone up for changing the blog pagination for template Forte? :-)

URL: https://biosis.dk/feed

Instead of "Older" I would like it to say "Continue".
Here's what I have under Code Injections > Header:

<!-- Blog Pagination -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
 $(document).ready(function() {
 var text = $('.pagination').html();
 text = text.replace('Prev', 'Continue');
 text = text.replace('Continue', 'Newer');
 $('.pagination').html(text);
});
</script>

Thanks :-)

Link to comment
  • 0
On 2/2/2021 at 6:41 PM, nonconfinia said:

Anyone up for changing the blog pagination for template Forte? :-)

URL: https://biosis.dk/feed

Instead of "Older" I would like it to say "Continue".
Here's what I have under Code Injections > Header:


<!-- Blog Pagination -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script>
 $(document).ready(function() {
 var text = $('.pagination').html();
 text = text.replace('Prev', 'Continue');
 text = text.replace('Continue', 'Newer');
 $('.pagination').html(text);
});
</script>

Thanks :-)

I think You can replace Prev with Older?

Email me if you have need any help (free, of course.). Answer within 24 hours.

How to: Setup password & share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

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

×
×
  • Create New...