Jump to content

Limit the length of comments?

Recommended Posts

Does anyone know of a way to limit the length of comments on blog pages? We have a relatively new online magazine and want to have comments enabled for discussion. However, some people feel the need to write a full article themselves in the comments. Is there a way to have a character limit or something like that?

Link to comment
  • Replies 2
  • Views 588
  • Created
  • Last Reply

Well I don't think you can get a css word or character counter but you might just ask people to limit their responses, don't know if this will work in custom css but worth a try, best I could come up with. If it works you  can change the word count from 250 to whatever. 

.comment-form-field.comment-textarea:after {

display: block;

content: "Remember to keep your comment under 250 words, or it will not be posted!";

font-size: 20px;

padding: 5px 10px;

color: red; font-style: italic;

text-align: center;


Link to comment
  • 3 weeks later...


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.