Create custom.css file in your child theme and paste in this code with the correct information, and add your custom css code below.
[code]
/*
Theme Name:
Description:
Author:
Author URI:
Version:
Template:
Template Version:
*/
[/code]
Next, add the following snippet of code to the child theme’s functions.php file.
[code]
// CUSTOM CSS FILES
function custom_style_sheet() {
wp_enqueue_style( 'custom-styling', get_stylesheet_directory_uri() . '/custom.css' );
}
add_action('wp_enqueue_scripts', 'custom_style_sheet');
[/code]
Voila!
Leave a Reply