Highlight the Author's Comments in Squarespace
June 30, 2009 Here's another Squarespace tutorial for you. This one's a bit shorter than the last one. In this tutorial, I'll show you how to highlight comments that are written by the author, so that they stand out amongst regular user comments. This image should give you an idea of what I mean.

This is a short and simple little trick, but I'm sure you can easily see how effective it can be. By default, Squarespace doesn't really provide much of an indicator that a comment has been left by the author (other than the username, but nobody pays much attention to that anyway).
To do this, start off by setting the style of the regular user comments. Just do this using the Font, Colors & Sizes tool when in Style Editing mode. Chances are, you already have this style set the way you want it. Once you've done that, go to Custom CSS and add the following
.authored-by-yournamehere .comment
{ /* style here */ }
Obviously you need to replace "yournamehere" with your actual username. Then just apply whatever style/colors you want. To give you an example, here's what I did...
.authored-by-errornix .comment
{background-color: #BFFFF0; border-color: #E6E6E6;}
If you want, you could easily change other things, such as font settings, or add images. But im my opinion, this would just look weird. By only adjusting the color settings, you'll inherit all of your other style settings, and your comments will just appear to be highlighted rather than appearing to be a completely different style.
Like I said, this was a short and simple one. But if you have any questions, let me know!
CSS,
Development,
Tutorial,
Web 





Reader Comments (6)
Hi. I know this is an older post but I was so happy to find it. I tried to add the code but it did not change the appearance of comments authored by me. Does it need to go anywhere specific? And do I need to omit something? The only code I see in my CSS that indicates it's related to comments is below and I tried to place your code after it but didn't have any luck:
.journal-comment-area-wrapper .journal-comment-area .comment-wrapper(-OR-).authored-by-None .comment .body { }
Thanks for helping out a newbie!
The code you posted doesn't actually DO anything. It's merely a template, provided by Squarespace, to achieve something similar to what I've done.
Remove the code that you posted from your CSS and replace it with my example (don't forget to substitute YOUR username).
I couldn't get this to work either. I've taken the code exactly as you have it above and entered my username but nothing happens. Does it have a specific place it needs to go in the Custom CSS area?
Thanks. I tried again but no success. Thanks for your time--unfortunately it's not something squarespace supports & I'm a newbie so I'm stuck.
That's weird. I'm sorry it didn't work for you. Perhaps I need to modify this post to accommodate other Squarespace themes?
If you post a link to your site, I'd be happy to take a look at it and try to help you out.
we provides you the best and most fashionable products. All the products are 100% high quality, competitive price, free shipping with best and timely service, 100% satisfaction. Big discount for big order. Welcome to make your choose.
ugg
ugg boots
ugg shoes
ugg tall boots
ugg short boots
ugg kids
ugg women
ugg men
cheap ugg
weight loss
diet pills
how to lose weight fast
louis vuitton
replica handbags
lv
louis vuitton bags
louis vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
louis vuitton
replica handbags
lv
louis vuitton bags
louis vuitton handbags
discount handbags
lv
discount handbags
louis vuitton bags
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
christian louboutin
louboutin
christian louboutin shoes
louboutin shoes
bridal shoes
sexy shoes
high heels shoes
ed hardy
ed hardy clothing
ed hardy clothing shirts
ed hardy clothes
ed hardy t shirts
ed hardy
ed hardy clothing
ed hardy clothing shirts
ed hardy clothes
ed hardy t shirts
rosetta stone
rosetta stone software
rosetta
chaojimengnan supplier
chaojimengnan