Title: CSS code for changing background color
Last modified: May 22, 2017

---

# CSS code for changing background color

 *  [selfiner](https://wordpress.org/support/users/selfiner/)
 * (@selfiner)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-code-for-changing-background-color/)
 * [https://selfiner.com/product/pharos/](https://selfiner.com/product/pharos/)
 * I want to change the background-color of the product slider to white
    I tried:.
   jssort03 { background-color: white; } Why it still doesnt work?

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

 *  [Uros Tasic](https://wordpress.org/support/users/wpaurorautasic/)
 * (@wpaurorautasic)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-code-for-changing-background-color/#post-9153797)
 * First of all:
 * The best way to make changes like this to a theme is to use a [child theme](https://developer.wordpress.org/themes/advanced-topics/child-themes/),
   so your tweaks won’t be overwritten when updating the theme.
 * Second:
 *     ```
       .jssort03 div {
           background-color: white !important;
       }
       ```
   
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-code-for-changing-background-color/#post-9153848)
 * [@wpaurorautasic](https://wordpress.org/support/users/wpaurorautasic/):
 * >> The best way to make changes like this to a theme is to use a child theme 
   <<
 * A child theme is not necessary for CSS.
 * **To add CSS:**
    - If you are using WordPress 4.7, use the “Additional CSS” option in the customizer.
    - If your theme has a custom CSS option, use that to add the CSS shown above.
    - If not, install the plugin [Simple Custom CSS](https://wordpress.org/plugins/simple-custom-css/).
 *  [Uros Tasic](https://wordpress.org/support/users/wpaurorautasic/)
 * (@wpaurorautasic)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/css-code-for-changing-background-color/#post-9153959)
 * [@sterndata](https://wordpress.org/support/users/sterndata/)
    my mistake, thank
   you for the heads up

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

The topic ‘CSS code for changing background color’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 4 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/css-code-for-changing-background-color/#post-9156165)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
