badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: child theme for ultimate

#40279

Hi bruno,

As @import is the easy way to import css for the user which does not have any issue using this. For the developers who submit ticket in wordpress.org also use this way to import css. Yes you can import using hook too. Using hook is the best and the latest way to import css. If you are familier with code then you can use hook to import the css.

add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );

}

For more info you can visit here too

I will suggest that if you are good at coding then you can use action hook otherwise using @import would be ok.

Thank you!