Title: Theme CSS selection element conflict
Last modified: August 22, 2016

---

# Theme CSS selection element conflict

 *  Resolved [bjackson2016](https://wordpress.org/support/users/bjackson2016/)
 * (@bjackson2016)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-css-selection-element-conflict/)
 * I have edited my custom CSS to include `::selection{color: white; background:#
   2f3f58;}` or multiple similar variations including copy/pasting and then editing
   code from W3Schools, W3C, stack overflow, and other sites. The code does nothing.
   I am using the [http://alxmedia.se/themes/hueman/](http://alxmedia.se/themes/hueman/)
   Hueman theme and it has almost the exact same code that seemed to be working.
   So i copied this code into my custom CSS and edited it and that did not work 
   either. Finally i disabled the theme CSS pertaining to selections. No matter 
   what I do my selection color is the same red set in the theme options menu. Is
   there any way to override the highlight color using CSS that is not the `::slection:`
   element or am I using the element wrong?
 * you can see the site here [](http://powerhawks.org/)

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

 *  [Sam](https://wordpress.org/support/users/soumendra/)
 * (@soumendra)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-css-selection-element-conflict/#post-5726369)
 * Hello,
 * Can you please provide the link to your site so that i can help you regarding
   that.
 * Thank you.
 *  Thread Starter [bjackson2016](https://wordpress.org/support/users/bjackson2016/)
 * (@bjackson2016)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-css-selection-element-conflict/#post-5726433)
 * thank you but I fixed this problem on stack overflow I could not find the post
   on this forum after I created it so I assumed there was some kind of bug with
   posting. Sorry. The explanation was that I was missing a curly brace.
 *  [Sam](https://wordpress.org/support/users/soumendra/)
 * (@soumendra)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/theme-css-selection-element-conflict/#post-5726436)
 * No problem thanks for inform.

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

The topic ‘Theme CSS selection element conflict’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Sam](https://wordpress.org/support/users/soumendra/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/theme-css-selection-element-conflict/#post-5726436)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
