Title: Applying CSS to a comment
Last modified: August 19, 2016

---

# Applying CSS to a comment

 *  [soporose](https://wordpress.org/support/users/soporose/)
 * (@soporose)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/applying-css-to-a-comment/)
 * Although I have the “Your comment is awaiting moderation” option enabled, I find
   that some visitors are still double-posting their comments, so I’d like to try
   making that notification more prominent.
 * I can do something with CSS in comments.php. Something like this does the job
   nicely:
 * <p style=”text-align:center; color:white; background-color:maroon;”>**<?php _e(‘
   Thank you.
   Your comment is awaiting moderation. ‘, ‘thesis’); ?>
   </p>
 * however I believe that customization would be lost during an upgrade.
 * Is there a “right” way to do this, so it survives version upgrades?

The topic ‘Applying CSS to a comment’ is closed to new replies.

## Tags

 * [comments.php](https://wordpress.org/support/topic-tag/comments-php/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [soporose](https://wordpress.org/support/users/soporose/)
 * Last activity: [17 years, 3 months ago](https://wordpress.org/support/topic/applying-css-to-a-comment/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
