My WordPress site uses a theme that is a child of a parent theme. As required, both themes have style.css files. However, as far as I can tell WordPress only provides the mechanism to load the child theme style.css file. How do the parent theme styles get loaded? Is it necessary to manually import the parent theme's style.css file into the child style.css file?
At the top of your child themes style.css add:
twentyeleven with your parent themes folder.
2016 - This practice has now been replaced by declaring the 'Template' in your theme stylesheet header:
You can call the parent css as a separate file in your theme header.php Something like
<link href="<?php echo get_stylesheet_directory_uri(); ?>/css/css.css" rel="stylesheet">
Depending on various factors it may be better to copy and paste the parent css into your child css file, and thus no need to import it at all. Saves http requests etc.