Title: css&gt;Main.css changes not working in child theme
Last modified: August 22, 2016

---

# css>Main.css changes not working in child theme

 *  Resolved [bilrosenberger](https://wordpress.org/support/users/bilrosenberger/)
 * (@bilrosenberger)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/)
 * This is the first time I’ve used a child theme when some of the styling is not
   in style.css, i.e. content>themes>child theme>css>main.css. My child theme has
   the following lines in the style.css:
    /* Theme Name: Full Width Child Template:
   skt-full-width Author: 413webdesign Version: 1.0 Updated: 2014-10-10 05:03:15*/
 * @charset “UTF-8”;
    [@import](https://wordpress.org/support/users/import/) url(‘../
   skt-full-width/style.css’);
 * Do I need to do anything else to pull stuff from main.css? I have the folder 
   and all of it’s contents copied to my child theme. If I make the changes in the
   main theme, the changes work fine. I guess my question is this…if I make changes
   in main.css in the main theme, do those changes get overwritten on theme updates?

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

 *  Theme Author [sonalsinha21](https://wordpress.org/support/users/sonalsinha21/)
 * (@sonalsinha21)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376618)
 * Hi,
 * I am little bad with child.css. I am sorry for this. But i can help you make 
   the theme folder different in case you are worried about updates in future may
   wipe out your edits.
 * I hope someone from community answers you on child.css and child theme.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376619)
 * > I guess my question is this…if I make changes in main.css in the main theme,
   > do those changes get overwritten on theme updates?
 * Yep. Why do you need to make changes there?
 *  Theme Author [sonalsinha21](https://wordpress.org/support/users/sonalsinha21/)
 * (@sonalsinha21)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376620)
 * Oh okay write all your css in custom css area available here: Appearance>Theme
   Options
 * You don’t need to worry even if the theme is updated then. So no need of child
   theme in this case.
 *  Thread Starter [bilrosenberger](https://wordpress.org/support/users/bilrosenberger/)
 * (@bilrosenberger)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376635)
 * Andrew, some of the code like font size for the internal pages is there. I got
   rid of the sidebar and want to make the font a little bigger. I just don’t want
   to make changes only to have to make them again if the theme updates.
    SKT Theme
   Author. I’ll try what you said and see if that works. Thanks for the input.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376648)
 * I’m still not sure why you need to make your CSS changes there. How were you 
   making changes in your Child Theme style.css file at all, because it was blank
   to begin with?
 *  Thread Starter [bilrosenberger](https://wordpress.org/support/users/bilrosenberger/)
 * (@bilrosenberger)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376657)
 * It wasn’t blank, I was just showing how I was pulling code for the child theme.
   Again, Andrew, some of the things I wanted to change were NOT in style.css they
   are in main.css
    I put some code in Theme Options, as stated above, and that 
   seems to be working so far.
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376667)
 * It doesn’t matter where the CSS is, just copy it and paste it into your Child
   Theme style.css file and change it there. If it still doesn’t work then add an
   extra selector for specificity.
 *  Thread Starter [bilrosenberger](https://wordpress.org/support/users/bilrosenberger/)
 * (@bilrosenberger)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376669)
 * Andrew, I didn’t know I could do that. I’m new to all this and still learning.
   Thank you all very much for the input. I think I can mark this resolved.

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

The topic ‘css>Main.css changes not working in child theme’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/skt-full-width/2.1/screenshot.
   png)
 * SKT Full Width
 * [Support Threads](https://wordpress.org/support/theme/skt-full-width/)
 * [Active Topics](https://wordpress.org/support/theme/skt-full-width/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/skt-full-width/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/skt-full-width/reviews/)

## Tags

 * [child theme](https://wordpress.org/support/topic-tag/child-theme/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [Main](https://wordpress.org/support/topic-tag/main/)
 * [style](https://wordpress.org/support/topic-tag/style/)
 * [Updates](https://wordpress.org/support/topic-tag/updates/)

 * 8 replies
 * 3 participants
 * Last reply from: [bilrosenberger](https://wordpress.org/support/users/bilrosenberger/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/cssmaincss-changes-not-working-in-child-theme/#post-5376669)
 * Status: resolved