Jump to content

Change text on blog pagination

Recommended Posts

Site URL: https://actonnotebook.com/featured-businesses-acton-w3

Hi I have added some custom text to change the pagination text from older newer.

I have managed to add 'back' on the second page but the text isn't showing on the first page of the blog.

I want it to read 'more' and 'back'

the code I have installed is 

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

Link to comment
5 hours ago, Knnected said:

Site URL: https://actonnotebook.com/featured-businesses-acton-w3

Hi I have added some custom text to change the pagination text from older newer.

I have managed to add 'back' on the second page but the text isn't showing on the first page of the blog.

I want it to read 'more' and 'back'

the code I have installed is 

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

It is the result you want to achieve?

image.thumb.png.5dd3d9b1efe1ba4ae742c344770d7062.png

image.thumb.png.2cef3096dbadae35afcb53b0568733ec.png

You can try adding to Home > Design > Custom Css

nav.blog-list-pagination .next-label {
  visibility: visible;
}

Let me know how it works on your site

Press 👍 or mark this answer as solution to help another one too

Edited by bangank36

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 12/7/2021 at 8:01 PM, Knnected said:

thank you for your response. 

I would like to change 'older posts' to "MORE" and 'newer posts' to "BACK"

but with the above code the BACK is showing but I can't get the words MORE to show

Do you still need help?

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 12/7/2021 at 8:01 PM, Knnected said:

thank you for your response. 

I would like to change 'older posts' to "MORE" and 'newer posts' to "BACK"

but with the above code the BACK is showing but I can't get the words MORE to show

Try adding to Home > Design > Custom Css

section[data-section-id="619f5b1c2b1c155d950e2769"] .blog-list-pagination .next-label:after {
	content: '' !important;
	transform: scale(0) !important;
	width: 80%;
	position: absolute;
	left: 0;
}

section[data-section-id="619f5b1c2b1c155d950e2769"] .blog-list-pagination .next-label:before {
	content: 'More';
	color: currentcolor;
	display: inline-block;
	visibility: visible;
	position: absolute;
	right: 0;
}

section[data-section-id="619f5b1c2b1c155d950e2769"] .blog-list-pagination a:hover  .next-label:after {
	transform: scale(1) !important;
}

section[data-section-id="619f5b1c2b1c155d950e2769"] .blog-list-pagination .newer a:hover .prev-label:after {
	transform: scale(1) !important;
	visibility: visible;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

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

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.