Title: Move wordpress css code to child theme
Last modified: August 22, 2016

---

# Move wordpress css code to child theme

 *  [TheCrack](https://wordpress.org/support/users/thecrack/)
 * (@thecrack)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/)
 * I’ve been adding css code in wordpress, now I would like to pass the child theme
   in the style.css file. I cut and paste but does not work. As I could?

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

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5710918)
 * When you say “adding css code in wordpress” do you mean adding it to the Custom
   CSS option in the theme?
 *  Thread Starter [TheCrack](https://wordpress.org/support/users/thecrack/)
 * (@thecrack)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5710971)
 * Yes,I meant that.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5710983)
 * Well, I think (although I haven’t actually tried this), if you copy the css from
   the Custom CSS box, place it in your child theme style.css file, then disable
   the Theme Options > General > Custom Stylesheet, it should work.
 *  Thread Starter [TheCrack](https://wordpress.org/support/users/thecrack/)
 * (@thecrack)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5710986)
 * OK, what I had done was copy and paste, but had not disabled CSS custom theme
   options, I’ll try to have if it works.
 * Thanks bdbrown.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711172)
 * Hi TheCrack. Just checking to see if you got this worked out.
 *  Thread Starter [TheCrack](https://wordpress.org/support/users/thecrack/)
 * (@thecrack)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711173)
 * First thanks for asking bdbrown.
 * In theme options, I disabled Custom Stylesheet, short the code and paste in the
   child theme file custom.css, When you save me out a window, passing file us-asccii
   a UTF8, but the problem that I have is that not everything works.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711174)
 * Not sure what “child theme file custom.css” means. Did you place the css code
   in some file other than the child theme style.css?
 *  Thread Starter [TheCrack](https://wordpress.org/support/users/thecrack/)
 * (@thecrack)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711175)
 * Sorry, I did not explain very well, I’ve put in style.css
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711178)
 * If you can copy your style.css up to [Pastebin](http://pastebin.com/), then post
   a link here, and let me know what part isn’t working, I’ll take a look at it.

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

The topic ‘Move wordpress css code to child theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/move-wordpress-css-code-to-child-theme/#post-5711178)
 * Status: not resolved