Jump to content

How replace "Older Posts >" in 7.1 ?

Recommended Posts

Hello,

i cant send a link because i testing 7.1 on a trial and its not live.

If you have for example 9 blog posts on one site and you will go to the next page you see this unter the blog site (bottom right)

Thanks

Link to comment

Add to Home > Design > Custom CSS

/* Newer posts */
nav.blog-list-pagination .prev-label {
    visibility: hidden;
}
nav.blog-list-pagination .prev-label:before {
    visibility: visible;
    content: "New prev text";
}
/* Older posts */
nav.blog-list-pagination .next-label {
    visibility: hidden;
}
nav.blog-list-pagination .next-label:after {
    visibility: visible;
    content: "new next text";
}

 

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 year later...
  • 4 months later...
On 3/12/2020 at 8:19 AM, tuanphan said:

Add to Home > Design > Custom CSS

/* Newer posts */
nav.blog-list-pagination .prev-label {
    visibility: hidden;
}
nav.blog-list-pagination .prev-label:before {
    visibility: visible;
    content: "New prev text";
}
/* Older posts */
nav.blog-list-pagination .next-label {
    visibility: hidden;
}
nav.blog-list-pagination .next-label:after {
    visibility: visible;
    content: "new next text";
}

I found this code works better FYI...

// Blog Pagination - Rename Older Poster & Newer Posts text
.blog-list-pagination {
  font-size: 0rem;
}
// Newer posts
.blog-list-pagination .prev-label:after {
  display: none;
}
.blog-list-pagination .prev-label:before {
  content: "Next";
  font-size: 1rem;
}
// Older posts
.blog-list-pagination .next-label:after {
  display: none;
}
.blog-list-pagination .next-label:before {
  content: "Previous";
  font-size: 1rem;
}

Link to comment
  • 2 months later...
4 hours ago, theloopylace said:

In Squarespace 7.1 I want to change the size of the "Older Posts" link that appears with the use of the Blog Grid.

Please post the URL for a page on your site where we can see your issue.

If your site is not public please set up a site-wide password, if you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works.

Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

We can then take a look at your issue.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 8 months later...
On 4/28/2022 at 1:07 AM, lgwebdesign said:

I found this code works better FYI...

// Blog Pagination - Rename Older Poster & Newer Posts text
.blog-list-pagination {
  font-size: 0rem;
}
// Newer posts
.blog-list-pagination .prev-label:after {
  display: none;
}
.blog-list-pagination .prev-label:before {
  content: "Next";
  font-size: 1rem;
}
// Older posts
.blog-list-pagination .next-label:after {
  display: none;
}
.blog-list-pagination .next-label:before {
  content: "Previous";
  font-size: 1rem;
}

Thank you, this works at me fine!!!

Could you assist, how to center this text now? text-align: center; didn't worked.
And how can I change the space between this text and the blog post list?
See screenshot.
Thank you very much!

Eingefügtes_Bild_18_04_23__22_49.png

Link to comment
On 4/19/2023 at 3:52 AM, Matt-W-Urst said:

Thank you, this works at me fine!!!

Could you assist, how to center this text now? text-align: center; didn't worked.
And how can I change the space between this text and the blog post list?
See screenshot.
Thank you very much!

Eingefügtes_Bild_18_04_23__22_49.png

Can you share link to this page? We can check easier

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

Create an account or sign in to comment

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

×
×
  • 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.