Title: How do I undo a CSS change
Last modified: August 22, 2016

---

# How do I undo a CSS change

 *  Resolved [franniesplace2](https://wordpress.org/support/users/franniesplace2/)
 * (@franniesplace2)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-do-i-undo-a-css-change/)
 * Hi Guys,
 * Complete newbie here, and have made an obvious rookie Mistake! After spending
   heaps of time on my site using the Enfold theme, learning everything from scratch
   along the way, I had it looking almost right, but wanted to tweak a few little
   things, fonts and text size, border spacing etc. – so started learning about 
   css.
 * I installed the plugin “simple custom css” and in google chrome I tested the 
   change using “inspect element”. I then copied the chunk of code and pasted into
   simple custom css in the dashboard and made the change
 * Unfortunately the simple change I made has effected my entire site instead of
   one little border and I don’t know how to get it back to what it looked like 
   before.
 * my site is [testsite.franniesdrivertraining.com.au](http://testsite.franniesdrivertraining.com.au/)
 * the code I changed was this:
 *     ```
       media="all"
       .content, .sidebar {
         padding-top: 20px;
         padding-bottom: 20px;
         -webkit-box-sizing: content-box;
         -moz-box-sizing: content-box;
         box-sizing: content-box;
         min-height: 1px;
         z-index: 1;
       }
       ```
   
 * All I changed was the padding from 50px to 20px.
 * I’ve tried deleting the code then resaving the css, replacing it with the original
   code without the change to the padding, deactivating the plugin completely and
   clearing my browser cache to try to fix it. But it won’t go back to the way it
   was.
 * I didn’t understand child themes unfortunately, but get now that I should’ve 
   set that up first so I could revert back to the original before I made the alterations…
   Gah!I always do these things the hard way!
 * Please please help!

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

 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/how-do-i-undo-a-css-change/#post-5910690)
 * 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.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)
   
   [http://op111.net/53/](http://op111.net/53/) [http://vimeo.com/39023468](http://vimeo.com/39023468)
 * You should also check this out for customizing your site.
    [http://themesandco.com/snippet/firebug-best-spent-6-minutes/](http://themesandco.com/snippet/firebug-best-spent-6-minutes/)
   [http://getfirebug.com](http://getfirebug.com)
 * Then to edit this editor is fantastic. You can edit multiple files at the same
   time.
    [http://notepad-plus-plus.org/](http://notepad-plus-plus.org/)
 * And this FTP program is tops in my book.
    [http://www.coreftp.com/](http://www.coreftp.com/)
 *  Thread Starter [franniesplace2](https://wordpress.org/support/users/franniesplace2/)
 * (@franniesplace2)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-undo-a-css-change/#post-5910733)
 * Thanks so much for those links, but unfortunately I have already made the mistake
   without first setting up the child themes – der – lesson now learnt! But what
   I really need to know is how I can undo what I have done…
 * Any ideas?
 *  [David_G](https://wordpress.org/support/users/questas_admin/)
 * (@questas_admin)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-undo-a-css-change/#post-5910779)
 * You can likely undo or rather fix it with a child, that’s why I gave you the 
   links. You might try deleting your theme and reinstalling it to get it back to
   default.

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

The topic ‘How do I undo a CSS change’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [David_G](https://wordpress.org/support/users/questas_admin/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/how-do-i-undo-a-css-change/#post-5910779)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
