Support » How-To and Troubleshooting » Accidentally deleted CSS

Accidentally deleted CSS

  • abigail33


    Hey everyone-

    Let me just preface this by saying, I’m completely new to WordPress. 🙂

    I’ve been editing my CSS using the “Editor” panel in WordPress dashboard and I accidentally deleted about half of my custom CSS. Then saved over it.

    Is there any way to recover this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Rachel Baker


    Do you have a backup of your theme files?

    If not, can you re-download your theme to restore the full css file (losing any of your edits)?



    I do have my theme files, but unfortunately it was kind of a bare-bones theme and I did a ton of custom CSS. I now realize that, though convenient, live-editing without saving a hard copy was kind of dumb. Oh well, lesson learned.

    Thanks for your response!



    You should not edit CSS directly. Use a child theme. That way when your theme updates you won’t lose your edits.

    See Child Themes

    hi, i did the same thing…deleted entire css… except when i try to re-intall my theme, it fails because “destination folder already exists.”

    how do i re intall the theme?

    Hi Abigail,

    Can you post your site url, Might be I can help you.



    Forum Moderator

    As per the Forum Welcome, please post your own topic. Your problem – despite any similarity in symptoms – is likely to be completely different.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Accidentally deleted CSS’ is closed to new replies.