Home Forums WoodMart support forum How to override parent theme style files with copies in the child folder?

How to override parent theme style files with copies in the child folder?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #484148

    chrisapps
    Participant

    My understanding is that this is pretty common practice for themes.

    If I copy files from

    wp-content/themes/woodmart/css/parts

    to

    wp-content/themes/woodmart-child/css/parts

    i.e.: header-base.min.css

    The copy in the child folder should be loaded afterwards to override the parent copy.

    My understanding is it just takes some functions.php code to achieve. Please assist.

    Thank you

    • This topic was modified 9 months, 1 week ago by chrisapps.
    #484152

    Hello,

    Regardless of the theme you use: parent or child, please move all CSS to the Theme Settings > Custom CSS.

    All the JS should be moved into the Theme Settings > Additional CSS.

    PHP should be inserted into functions.php of the child theme, in this case, all the customization would remain after the theme update.

    If you have any questions please feel free to contact us.

    Best Regards

Viewing 2 posts - 1 through 2 (of 2 total)