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*

bruno

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: child theme for ultimate #40262
    bruno
    Participant

    Hello,

    As codex say, it seems that @import is not the best way to import css :

    The final step is to enqueue the parent and child theme stylesheets. Note that the previous method was to import the parent theme stylesheet using @import: this is no longer best practice. The correct method of enqueuing the parent theme stylesheet is to add a wp_enqueue_scripts action and use wp_enqueue_style() in your child theme’s functions.php.

    So how would you suggest to change the way to import css as it is not very clear for me ?

    Thank you.

Viewing 1 post (of 1 total)