Title: Parse Error after Editing custom-css.php
Last modified: August 21, 2016

---

# Parse Error after Editing custom-css.php

 *  [steind](https://wordpress.org/support/users/steind/)
 * (@steind)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/parse-error-after-editing-custom-cssphp/)
 * Hey,
    I tried to edit the custom-css.php on my website. My edit did not work,
   so I immediately deleted what I had added so it was identical to what it looked
   like before I touched it. Now, I get this error when I try to load my website
   or any page related to it:
 * Parse error: syntax error, unexpected ‘{‘, expecting ‘&’ or T_VARIABLE in /home/
   content/37/10236837/html/wp-content/themes/virtue/lib/custom-css.php on line 
   2
 * I know that there is no longer a syntax error. I think the problem is that the
   site won’t function enough to allow me to update the file. I’m new to wordpress,
   is there anything I can do to just revert to what my site looked like before 
   I started messing with it? I tried re-downloading the file and copy and pasting
   it in, but I still get the same error. My website is [http://www.gratefulalive.org](http://www.gratefulalive.org),
   any help is greatly appreciated!
 * Dave

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

 *  [Sheine](https://wordpress.org/support/users/sheine/)
 * (@sheine)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-after-editing-custom-cssphp/#post-4468850)
 * Hi Dave,
 * i have the same problem on line 4:
 * Parse error: syntax error, unexpected ‘{‘ in
    /wp-content/themes/virtue/lib/custom-
   css.php on line 4.
 * Please tell me how you fixed this.
 * Sven
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-after-editing-custom-cssphp/#post-4468851)
 * You can create a new thread here: [http://wordpress.org/support/theme/virtue#postform](http://wordpress.org/support/theme/virtue#postform)

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

The topic ‘Parse Error after Editing custom-css.php’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 3 participants
 * Last reply from: [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/parse-error-after-editing-custom-cssphp/#post-4468851)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
