Support » Themes and Templates » Parse Error after Editing custom-css.php

  • 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, any help is greatly appreciated!


Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse Error after Editing custom-css.php’ is closed to new replies.