I want to create a wordpress child theme for Theme X.
How do I import the CSS from the original style from Theme X?
Generalized steps for creating child theme for any theme:
1) create a directory in your themes directory in wordpress: /wordpress/htdocs/wp-content/themes/Your-child-theme
2) create a style.css file in that directory.
3) open the newly created style.css file and add header information:
/* Theme Name: Your child theme name Author: Author name Template: Your parent theme name */
4) Import the parent theme stylesheet, after the header add in your style.css:
If your parent theme have only one stylesheet, then these steps are sufficient. Otherwise you can add multiple import statements.
Check wordpress codex: https://codex.wordpress.org/Child_Themes