Jump to content

Changing Blog Post Comment Box Background Color

Recommended Posts

Posted

Site URL: https://www.etlicsw.com/

Hello 

I am trying to modify the color of the comment box on a client's website. Currently the comment box background color is white- is there anyway to change this to a different color (wanting it to be green like the background). Is there a CSS code I could use as I don't see it in the built in. Thanks!

image.png

  • Replies 2
  • Views 1.4k
  • Created
  • Last Reply
Posted

If you want the form background to be the exact same shade of green as the page background:

.squarespace-comments .new-comment-area .input form.comment-form textarea, .squarespace-comments .new-comment-area {
    background:#6b8374;
    color:#fff;
}

If you want the form to be a darker green to differentiate/make it easier to spot for viewers:

.squarespace-comments .new-comment-area .input form.comment-form textarea, .squarespace-comments .new-comment-area {
    background:#2b4a3f;
    color:#fff;
}

These change the text color to white as well for legibility.

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.