Jump to content

Replacing titles with "previous" and "next" in blog pagination

Go to solution Solved by Ziggy,

Recommended Posts

Yes, this is possible, can you share your website URL? Thanks!

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • Solution

Try using this Custom CSS:

.item-pagination-link--prev {
  .item-pagination-title {
    display:none;
  }
  .pagination-title-wrapper:after {
    content:'Previous';
  }
}
.item-pagination-link--next {
  .item-pagination-title {
    display:none;
  }
  .pagination-title-wrapper:after {
    content:'Next';
  }
}

 

I guess you are going to fix the auto-generated titles and URLs that are created when you duplicate a blog, but in case you're not aware of that issue, I thought I would point that out to be helpful.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
Just now, andrewwww said:

They're a real mess right now!

I understand, I've been there, but 5x (copy) on the end of one blog did make me chuckle! 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 

  Did I help? Buy me a coffee?

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

Link to comment
  • 4 months later...
On 7/11/2023 at 3:18 PM, ManolisV said:

Hi there,

I want the same fix for my main blog and using this code does affect the pagination but the "Previous" and "next" does not show. Can you help me @tuanphan?

https://fennel-opossum-bdzy.squarespace.com/
password: hope!1A


 

Add this to Design > Custom CSS

/* blog prev next */
h2.item-pagination-title {
    display: none;
}
.item-pagination-prev-next {
    display: block !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

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.