[closed] Parse Error after Editing custom-css.php (3 posts)

  1. steind
    Posted 2 years ago #

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


  2. Sheine
    Posted 1 year ago #

    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.


  3. Andrew Nevins
    Forum moderator
    Posted 1 year ago #

    You can create a new thread here: http://wordpress.org/support/theme/virtue#postform

Topic Closed

This topic has been closed to new replies.

About this Topic