Adding CSS to WordPress Theme Via functions.php File
When you want to add a new CSS file to the theme, you want to do it the right way. I’ve seen so many developers do it just embedding in the header.php. I would say that’s wrong practice. Then how to call a CSS/js file in WordPress properly. Follow the below code to add a CSS file properly in WordPress blog.
Open your functions.php located in your active theme.