Jump to content

Change text on blog pagination

Recommended Posts

Posted

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";
   

  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply
Posted
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

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

Posted

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

Posted
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!)

Posted
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 (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.