Title: Modifying CSS Code Best Practice?
Last modified: August 31, 2016

---

# Modifying CSS Code Best Practice?

 *  [brownbag24](https://wordpress.org/support/users/brownbag24/)
 * (@brownbag24)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/modifying-css-code-best-practice/)
 * I see that some WordPress themes have a Custom CSS section where we can enter
   our own CSS code. My question is, what is the difference in using this to modify
   CSS Vs. opening the style.css file from the editor and modifying that directly?
 * I understand that if we want to modify css code, it is best practice to create
   a child theme, then modify the CSS on the child theme instead of the parent. 
   So if we create a child theme, then the what is the need to use the CSS custom
   editor that comes with some themes? I would imagine that we are “safe” to go 
   ahead and modify the style.css directly in the child theme.
 * Thoughts?
 * Thanks

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/modifying-css-code-best-practice/#post-7065045)
 * > So if we create a child theme, then the what is the need to use the CSS custom
   > editor that comes with some themes?
 * for those themes, if you only want to customize the CSS, you won’t need to create
   a child theme.
    if you create a child theme, you can edit style.css of the child
   theme, however, make sure that style.css actually gets loaded.
 *  Thread Starter [brownbag24](https://wordpress.org/support/users/brownbag24/)
 * (@brownbag24)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/modifying-css-code-best-practice/#post-7065049)
 * Thanks. So if we only customize the CSS using the custom editor that comes with
   some themes, then when we update the theme to a newer version, we don’t need 
   to worry about possibly losing the customizations?

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

The topic ‘Modifying CSS Code Best Practice?’ is closed to new replies.

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [brownbag24](https://wordpress.org/support/users/brownbag24/)
 * Last activity: [10 years, 3 months ago](https://wordpress.org/support/topic/modifying-css-code-best-practice/#post-7065049)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
