Title: Users with different styles?
Last modified: August 18, 2016

---

# Users with different styles?

 *  [sojourn78](https://wordpress.org/support/users/sojourn78/)
 * (@sojourn78)
 * [20 years ago](https://wordpress.org/support/topic/users-with-different-styles/)
 * Hi, I just started a blog and I would like viewers to be able to tell the difference
   between when I post and when my wife posts. Preferably just with the headline
   of the post being a different color, or maybe body copy. Either one would be 
   great. Does anyone know how to do this? I know more than an absolute beginner
   about CSS but not everything, and I know -nothing- about php. Any help would 
   be GREATLY APPRECIATED!!!
    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Austin Matzko](https://wordpress.org/support/users/filosofo/)
 * (@filosofo)
 * [20 years ago](https://wordpress.org/support/topic/users-with-different-styles/#post-391699)
 * `<?php the_author_login() ?>` will produce the author’s user name, such as “admin.”
   Why not make a class with the author’s user name as its value?
 * `<h3 class="<?php the_author_login() ?>"> . . . </h3>`
 * Then you can apply the different styles to the different user names in your style.
   css file:
 * `h3.sue {
    color: red; } h3.bob { color: blue; }
 *  Thread Starter [sojourn78](https://wordpress.org/support/users/sojourn78/)
 * (@sojourn78)
 * [20 years ago](https://wordpress.org/support/topic/users-with-different-styles/#post-391786)
 * This is brilliant. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Users with different styles?’ is closed to new replies.

## Tags

 * [users](https://wordpress.org/support/topic-tag/users/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [sojourn78](https://wordpress.org/support/users/sojourn78/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/users-with-different-styles/#post-391786)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
