Modifying Visual
The most common situation is to change already existing design. As mentioned in the child theme chapter we recommend to use child theme for custom changes. In our case we will use style.css.
Sometimes you need to make a lot of changes so it is good approach to use separate CSS file. You can load new CSS files by adding custom hook into functions.php.
/**
* Enqueue scripts & styles
*
* @see wp_enqueue_scripts
* @return void
*/
function themename_enqueue() {
wp_enqueue_style( 'style', get_stylesheet_directory_uri() . '/assets/custom.css' );
}
add_action( 'wp_enqueue_scripts', 'themename_enqueue' );