Title: Child for framework.css?
Last modified: August 20, 2016

---

# Child for framework.css?

 *  Resolved [TraciBunkers](https://wordpress.org/support/users/tracibunkers/)
 * (@tracibunkers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/child-for-frameworkcss/)
 * I made a child theme, but what I’m not understanding is how to get a child framework.
   css to work.
 * Anything I do to it doesn’t affect the site. But if I change the parent framework.
   css file, it does.
 * In my child framework.css, I’ve got
    `@import url("../blaskan/framework.css");`
   at the beginning.
 * I tried adding my [@media](https://wordpress.org/support/users/media/) changes
   to my style.css, but that would override all media sizes–meaning if I made a 
   change to something that is for max 480px, it would effect all sizes. But if 
   I made that change in the parent framework.css page, it would only effect that
   size.
 * How can I make changes to the different media without changing the parent framework.
   css? Or is that the only way to do it? I just seems like my child theme isn’t
   recognizing my framework.css

Viewing 1 replies (of 1 total)

 *  Thread Starter [TraciBunkers](https://wordpress.org/support/users/tracibunkers/)
 * (@tracibunkers)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/child-for-frameworkcss/#post-3620700)
 * I found the answer here: [http://wordpress.org/support/topic/overrule-frameworkcss-in-child-theme?replies=4](http://wordpress.org/support/topic/overrule-frameworkcss-in-child-theme?replies=4)
 * Paste this into your child functions.php file:
 *     ```
       function blaskan_css_init() {
         if ( !is_admin() && !in_array( $GLOBALS['pagenow'], array( 'wp-login.php', 'wp-signup.php', 'wp-register.php' ) ) ) {
           wp_enqueue_style( 'blaskan-framework', get_stylesheet_directory_uri() . '/framework.css', array(), false, 'screen' );
           wp_enqueue_style( 'blaskan-style', get_bloginfo('stylesheet_url'), array(), false, 'screen' );
         }
       }
       ```
   
 * And, your framework.css file needs to have all of the info from the parent framework.
   css file. I tried doing the import and just putting in my changes, but that didn’t
   work.

Viewing 1 replies (of 1 total)

The topic ‘Child for framework.css?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/blaskan/3.0.1/screenshot.jpg)
 * Blaskan
 * [Support Threads](https://wordpress.org/support/theme/blaskan/)
 * [Active Topics](https://wordpress.org/support/theme/blaskan/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/blaskan/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/blaskan/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [TraciBunkers](https://wordpress.org/support/users/tracibunkers/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/child-for-frameworkcss/#post-3620700)
 * Status: resolved