@import in child themes of WordPress

1
2
<?php // load parent theme CSS
function load_parent_theme_css() {
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Whenever you create a child theme in future, seriously consider enqueuing your parent theme’s CSS instead of @importing it.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.