Jump to content

Change text on blog pagination

Recommended Posts

Hello there !

I would like to custom the text of the blog pagination of my website : https://www.clubimmomarseille.com/nos-membres?offset=1645716540724

I would like to replace :

- "Billets plus récents" by "Précédent"

- "Billets plus anciens" by "Suivant"

Is it possible ?

image.thumb.png.d09194c5a7f44e7afcbef5281aae8171.png

Also, do you know if it's possible to disable the pagination system to have all on one page (or lazy loading system)?

Thank you so much for your help !!

Edited by Maratwork
Typing error
Link to comment
54 minutes ago, Maratwork said:

Hello there !

I would like to custom the text of the blog pagination of my website : https://www.clubimmomarseille.com/nos-membres?offset=1645716540724

I would like to replace :

- "Billets plus récents" by "Précédent"

- "Billets plus anciens" by "Suivant"

Is it possible ?

image.thumb.png.d09194c5a7f44e7afcbef5281aae8171.png

Thank you so much for your help !!

Try adding to Home > Design > Custom Css

/*style for previous button*/
.blog-list-pagination [rel="prev"] span {
  visibility: hidden;
  order: 2;
}

.blog-list-pagination [rel="prev"]:after {
  content: 'Précédent';
  order:1;
}

/*style for next button*/
.blog-list-pagination [rel="next"] span {
  visibility: hidden;
}

.blog-list-pagination [rel="next"]  .blog-list-pagination-icon {
  order: 2;
}

.blog-list-pagination [rel="next"]:after {
  content: 'Suivant';
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.0608931cddbc860e1b2750ad5c829171.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
20 hours ago, Maratwork said:

Hello, thank you so much for your feedback.

It works perfectly !

Just to know, I wondered if is there a way to disable the pagination ?

Thank you !

Add to Design > Custom CSS

/* disable blog pagination */
.blog-list-pagination {
	display: none !important;
}

 

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
On 4/5/2022 at 12:24 PM, bangank36 said:

Try adding to Home > Design > Custom Css

/*style for previous button*/
.blog-list-pagination [rel="prev"] span {
  visibility: hidden;
  order: 2;
}

.blog-list-pagination [rel="prev"]:after {
  content: 'Précédent';
  order:1;
}

/*style for next button*/
.blog-list-pagination [rel="next"] span {
  visibility: hidden;
}

.blog-list-pagination [rel="next"]  .blog-list-pagination-icon {
  order: 2;
}

.blog-list-pagination [rel="next"]:after {
  content: 'Suivant';
}

Let me know how it works on your site

Tried adding this code, nothing changes

Link to comment
3 hours ago, HunterD said:

Tried adding this code, nothing changes

I check that it is fine. Have you refreshed your site again?

image.thumb.png.5989fba4a32a121beb8f4290f2b06f83.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 4/9/2022 at 6:09 PM, HunterD said:

Yes, still won't work!

Try adding to Settings > Advanced > Code Injection > Header

<style>
  /* disable blog pagination */
.blog-list-pagination {
	display: none !important;
}
</style>

 

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

Hello there,

Thank you all for your answers, I try your different solutions but it didn't work, it just allowed to hide the pagination links, but we can't have all article items on the same page unfortunately.

I keep the renamed pagination solution for the moment ! Let me know if you see another way to remove the pagination system 🙂

Have a good day !

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.