Why my CSS file is not being registered in functions.php? [closed]

Your function should be:

function my_theme_sty() {
    wp_enqueue_style( 'bootstrap', get_template_directory_uri().'/assets/css/bootstrap.css');
}
add_action( 'wp_enqueue_scripts', 'my_theme_sty' );

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)