How to restore a corrupted theme after deleting a code piece?

Hello,

I accidentally deleted a piece of code in the theme, so the theme is corrupted, now how do I restore that theme as it was?

Hi there, if you have some idea on what kind of codes you deleted, you can fresh install the theme in another test store, view the codes there and copy paste those codes.

If you need extra help, please inbox me.

Hello,

If you know the file, where you deleted a part of code, you can try to restore it with backup file.

Choose “Edit Code” on your theme, search the file where your code was deleted-> open it and choose the previous version. Little presentation bellow:

I hope it will help you.

1 Like