Jump to content

Is there a way to custom format the comment block at the bottom of blog posts in 7.1?

Recommended Posts

  • Replies 2
  • Views 856
  • Created
  • Last Reply

Add to Home > Design > Custom CSS:

h3.comment-count {
  font-size: calc(.7 * 1.2vw + 1rem);
}
h3.comment-count span {
    visibility: hidden;
}
h3.comment-count span:before {
    visibility: visible;
    content: "Marginalia";
}

This will change the word and the font size. (Just a heads up, replacing the word "Comments" also removes the comment count # in parentheses after it.) I've applied the same font sizing as the previous/next post links on your blog for consistency, but you can change "calc(.7 * 1.2vw + 1rem)" to whatever font size setting you'd like.

(Credit for the code to change the word "Comments" goes to @tuanphan in this forum post)

Link to comment

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.