Tagged: child theme, enfold
The Enfold child theme comes with 2 files: functionsphp and styles.css.
However the styles.css is missing @import declaration.
function.php is missing wp_enqueue_style()
Is this intentional?
I am asking because WP codex article says that @import should no longer be used but wp_enqueue_style() should be used instead.
Please advise if any of the above should be added to the relevant child theme?
many thanks
Hi TheElear!
Yes since it’s a child theme it does not need to include anything else. You can place your custom CSS directly into the child theme style.css file if you wish. You may need to use the !important rule if it needs to overwrite some of the parent theme CSS.
Cheers!
Elliott
Many thanks,
P
You can close this thread now.
regards,
P