That worked! Thanks so much! I’ve been trying to fix it for two days and that did it in a minute.
Sorry for posting again – I fixed it! Phew!
For anyone else – I went into my cpanel, deleted the theme that I had messed up and then uploaded an unedited theme using Filezilla.