Child theme vs. updating the custom css file?

What is the advantage/difference in using a child theme to make edits to the appearance of the theme than using the custom.css file provided via blogs-mu/_inc/css/custom-sample.css?

In the comments to said CSS reads that any custom css input there will be retained should there be an update to this I'm wondering what the advantage to using a child theme is?

  • aecnu
    • WP Unicorn

    Greetings wpenginealex,

    Welcome to WPMU Dev!

    This is just a sample and elements of the child theme are indeed included within the parent to include the child theme itself.

    Here is an example of the parent and child theme structures applied correctly:

    The example above gives the correct way to work with the parent and child theme and shows there structure.

    You would want to use the /wp-content/themes/blogs-mu-child/_inc/css/style.css file for styling your site and avoiding possible erasure, actually everything within the child theme folder is exempt from being replaced during an update.

    Thank you for being a WPMU Dev Member!

    Cheers, Joe

  • Patrick
    • Support Monkey

    Hi wpenginealex,

    If all you want to do is customize the appearance of your website, then there is no difference at all really; aside from the picoseconds required to call a child-theme's stylesheet :p

    However, if you think you may want to go a bit deeper with things like page templates, custom functions, rearranging code to modify what and how things are displayed, then a child-theme is required.

    Hope this helps! :o)

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.