• mnabeel87

    (@mnabeel87)


    I built a website in WordPress with the paid theme. When I built the website, I was quiet new at WordPress and didn’t know anything about ChildTheme (BUT NOW I DO). So here is the problem:
    There is a new theme update avaibale and I want to update the theme, however, all my CSS has been associated with the current theme. If I update, all my CSS is going to disappear and I don’t want that to happen.
    What should I do in this case so when I update my theme, all my CSS stays exactly the same?
    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • David_G

    (@questas_admin)

    Copy your customizations to the new style.css and functions.php files in your child theme before you update. Here is how to create a child theme.

    The best way to make changes like this to a theme is to use a child theme, so your tweaks won’t be overwritten when updating the theme. Here are some guides in case you haven’t made one before:
    https://codex.ww.wp.xz.cn/Child_Themes
    http://op111.net/53/

    leejosepho

    (@leejosepho)

    I find Child Theme Configurator very helpful:
    https://ww.wp.xz.cn/plugins/search.php?q=child+theme+configurator

    David_G

    (@questas_admin)

    OK, I have never used that.. copy your customizations to a text file then add them to your child theme.

    leejosepho

    (@leejosepho)

    Another possible option is to temporarily switch to a different theme altogether and then re-name the modified theme and then re-upload and activate an original copy of the modified theme and then use the files from the modified version to make the new Child Theme.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘WordPress Child Theme Help’ is closed to new replies.