Jump to content

Removing Like button and Pagination

Recommended Posts

Posted

Hey,

Can someone help with the code for removing the like button and pagination on all of my blog posts?

I am using the Rally template.

Thanks

  • Replies 1
  • Views 1.5k
  • Created
  • Last Reply
Posted

You can add this to the Blog Settings > Page Header Code Injection in your blog page settings. It removes some other things, too, as you can see from each line, so just delete the lines you don't need between the style tags.

<style>
  .sqs-share-buttons {display: none;}
  .squarespace-comments {display: none;}
  .BlogItem-pagination-link-content {display: none;}
  .BlogList-pagination-link-label {color: #ffffff;}
  .BlogItem-pagination-link--prev, .BlogItem-pagination-link--next {display: none;}
</style>

 

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.