Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #349391

    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

    #349739

    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

    #350408

    Many thanks,
    P

    #350409

    You can close this thread now.
    regards,
    P

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Enfold child theme’ is closed to new replies.