Title: .byuser class for authorcomments??? problem?
Last modified: August 19, 2016

---

# .byuser class for authorcomments??? problem?

 *  [sepp88](https://wordpress.org/support/users/sepp88/)
 * (@sepp88)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/byuser-class-for-authorcomments-problem/)
 * hi there,
    i simply want to make all .byuser comments on my blog in a different
   color. since wp 2.7 the style.css has a `ol.commentlist li.byuser {}` class to
   style the author and byuser comments.
 * however, i’m using the modicus-remix theme and unfortunately the comments aren’t
   built with a list-element.
 * in this theme the comments are a loop of a div-element with the class “bubble”.
 *     ```
       div.bubble {
           margin-bottom:24px;
           width:auto;
       }
       /* i tried to add the div.byuser class -> doesn't work -> all divs with the bubble class get colorized!!! ??? */
       div.bubble, div.byuser{
           background-color:#CCCCFF;
       }
       div.bubble blockquote {
           border:1px solid #C9C2C1;
           margin:0px;
           padding:10px;
           background:#fff;
       }
       div.bubble blockquote p {
           line-height:1.3em;
           margin:0px;
           padding:0px;
       }
       div.bubble cite {
           background:transparent url(images/tip.gif) no-repeat scroll 20px 0pt;
           display:block;
           font-size:1em;
           font-style:normal;
           margin:-7px;
           padding:7px 0px 10px 15px;
           position:relative;
           top:5px;
       }
       ```
   
 * is there a chance to style this div.bubble element if it comes from an author?
   or does this .byuser class only work with list-elements.
 * as you can see in my sample css i tried to add this few lines, however it doesn’t
   work:
 *     ```
       /* i tried to add the div.byuser class -> doesn't work -> all divs with the bubble class get colorized!!! ??? */
       div.bubble, div.byuser{
           background-color:#CCCCFF;
       }
       ```
   
 * ??? any ideas ???

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

 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/byuser-class-for-authorcomments-problem/#post-1195641)
 * What’s the url to your site?
 * Peter
 *  Thread Starter [sepp88](https://wordpress.org/support/users/sepp88/)
 * (@sepp88)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/byuser-class-for-authorcomments-problem/#post-1195647)
 * unfortunately i’ve no url to provide, due to the fact that i’m developing locally.
 * i would be so cool, if i could get to work. thank you very much!
 *  [Michael Soriano](https://wordpress.org/support/users/mks6804/)
 * (@mks6804)
 * [15 years, 9 months ago](https://wordpress.org/support/topic/byuser-class-for-authorcomments-problem/#post-1195867)
 * I have a similar problem: [http://fearlessflyer.com/2009/06/free-wp-theme-blue-rooster/#comment-618](http://fearlessflyer.com/2009/06/free-wp-theme-blue-rooster/#comment-618)
 * I’m not sure why wp is assigning both classes (byauthor and byuser) to the list
   item of my comment.
 * Now all comment replies for that parent comment inherits the same styling.
 * does anyone get my question?

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

The topic ‘.byuser class for authorcomments??? problem?’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Michael Soriano](https://wordpress.org/support/users/mks6804/)
 * Last activity: [15 years, 9 months ago](https://wordpress.org/support/topic/byuser-class-for-authorcomments-problem/#post-1195867)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
