theme style wordpress code example
Example: function for style your theme wordpress
function register_styles() {
wp_register_style( 'theme_styles', get_template_directory_uri() . '/styles/main_global.css' );
wp_enqueue_style( 'theme_styles' );
}