Title: Parse error: syntax error, unexpected &#8216;.&#8217;
Last modified: October 2, 2017

---

# Parse error: syntax error, unexpected ‘.’

 *  Resolved [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/)
 * Yesterday I searched Google on how to change the font of the drop-down links 
   on the menu on my website, and I found a solution that had to do with copying
   and pasting an HTML code into the custom CSS code. So before I pasted it in, 
   I copied the whole original code and pasted it onto a notepad, then I made the
   change. When I went to save it, it sent me to a blank page with just this at 
   the top:
    Parse error: syntax error, unexpected ‘.’ in /home/electricchurch/tessilamcleanphotography.
   blackcoffeeranch.com/wp-content/themes/virtue/lib/custom-css.php on line 32 I
   went back one page, and it brought me back to the code editor, and it didn’t 
   give the message that it was saved. So then I replaced the whole code with the
   original one I’d saved, and clicked “save”, and it brought me back to that error
   page. Then I tried going to my website, but it gave me that same error. So I 
   decided to wait to see if it was a problem with WordPress, but now that I closed
   everything, today I tried again, and I can’t get anywhere on my website anymore.
   Not even the dashboard. I’m using the theme titled “Virtue”, if that helps any.
   I already searched on this forum for a solution, but everyone’s problem with 
   that error wasn’t exactly like mine, so I didn’t find a solution for my exact
   problem. So what do I do? Can I ever get my site back? My website is: Tessilamcleanphotography.
   blackcoffeeranch.com
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fparse-error-syntax-error-unexpected-206%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/?output_format=md)

 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549418)
 * Hello, Need to check that file — custom-css.php .
    You may send me the screenshot
   of that line. of send me that file. Check that and let you know. Waiting for 
   your reply. thanks.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549447)
 * How do I find that file?
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549486)
 * Hello,
    In your FTP or C-panel. Just enter the your site directory > wp-content
   > themes > virtu > lib folder > Here you will get that file name custom-css.php
   file. just browse the above directory.
 * Thanks.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549548)
 * Where is my FTP or C-panel? Is a C-panel my control panel in my computer?
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549590)
 * Hello,
    C-panel is where your hosted files are kept. you can manage those file
   through Filezilla software. However your custom-css.php file is in your theme
   main folder. Just browse which theme you are using (activated theme) > then enter
   that folder > there you will get a folder name lib > inside that folder you will
   get custom-css.php file. Thats it.
 * Thanks.
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549618)
 * Hello [@tessila](https://wordpress.org/support/users/tessila/),
 * You can handover your burden to our support stuffs and we’ll love to help you
   fix the issue(small charge applies).
 * Otherwise, open the file and check it yourself with help of your hosting provider.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549671)
 * Is this it? I found it in Filezilla titled “edit.css”.
 * _[large amounts of code removed]_
    -  This reply was modified 8 years, 8 months ago by [stephencottontail](https://wordpress.org/support/users/stephencottontail/).
      Reason: removed large amounts of code
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549715)
 * Nope this is not that file which is with problem. I guess this file is your theme
   main css file. which contains all css of your site.
    Just browse lib folder in
   the theme root directory. Inside that folder you will get custom-css.php file.
   Thanks.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549888)
 * Found it
 * _[large amounts of code removed]_
    -  This reply was modified 8 years, 8 months ago by [stephencottontail](https://wordpress.org/support/users/stephencottontail/).
      Reason: removed large amounts of code
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9549998)
 * Sorry for the late reply. I was busy for a while.
 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9550148)
 * [@tessila](https://wordpress.org/support/users/tessila/): Please use [Pastebin](http://pastebin.com/)
   or [Gist](http://gist.github.com/) to post large blocks of code; it works better
   than the forums for that kind of thing.
 * [@themesgrove](https://wordpress.org/support/users/themesgrove/): Please do not
   ask users to contact you off the forums.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/#post-9550199)
 * Okay, thanks! I’ll do that.
 * [@themesgrove](https://wordpress.org/support/users/themesgrove/), here is the
   custom-css.php code:
    [https://gist.github.com/anonymous/1924b5dd680daef05dae4b768e50785c](https://gist.github.com/anonymous/1924b5dd680daef05dae4b768e50785c)
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/#post-9550574)
 * Hello tessila,
    You can try with this gist. [https://gist.github.com/anamwp/d67fd137e3b0f2d379e628163cb14a9a](https://gist.github.com/anamwp/d67fd137e3b0f2d379e628163cb14a9a)
   There were some small issue about ‘}’ and php start and closing tag.
 * Try with the above gist and let me know.
 * Thanks.
 *  Thread Starter [Tessila](https://wordpress.org/support/users/tessila/)
 * (@tessila)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/#post-9552498)
 * How do I “try it out” when I can’t even get into my website dashboard?
 *  [ThemesGrove](https://wordpress.org/support/users/themesgrove/)
 * (@themesgrove)
 * [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/#post-9553058)
 * Hello tessila,
    Just open that file and edit that file in any of your text editor
   > then copy my code from the gist and then paste code into your file.
 * Thanks.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/?output_format=md)

The topic ‘Parse error: syntax error, unexpected ‘.’’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 3 participants
 * Last reply from: [Tessila](https://wordpress.org/support/users/tessila/)
 * Last activity: [8 years, 8 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-206/page/2/#post-9554059)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
