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%2Fpage%2F2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 16 through 22 (of 22 total)

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

 *  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-9553348)
 * You mean like Filezilla?
 *  [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-9553396)
 * Hello tessila,
    Use Filezilla for this purpose. 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-9553474)
 * Okay, I replaced the code with yours, and it still won’t let me into my website.
   It now says this:
    Parse error: syntax error, unexpected ‘}’, expecting end of
   file in /home/electricchurch/tessilamcleanphotography.blackcoffeeranch.com/wp-
   content/themes/virtue/lib/custom-css.php on line 39
 *  [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-9553512)
 * Hello,
    Sorry I missed PHP tag in the begging of the file. I update my gist and
   please try with the new one. [https://gist.github.com/anamwp/d67fd137e3b0f2d379e628163cb14a9a](https://gist.github.com/anamwp/d67fd137e3b0f2d379e628163cb14a9a)
   Thanks.
    -  This reply was modified 8 years, 8 months ago by [ThemesGrove](https://wordpress.org/support/users/themesgrove/).
 *  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-9553576)
 * It worked! Thank you so much for your patience in walking me through it all. 
   I don’t know the slightest thing about HTML code. Again, thank you!
 *  [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-9554048)
 * Hello [@tessila](https://wordpress.org/support/users/tessila/),
 * Please to hear that your problem is solved and help you.
    I think you have learn
   a lot of things through this conversation. Love to help you next time too.
 * 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-9554059)
 * Yes, I have. Thank you! Actually I have another question in regards to coding.
   
   I would like to change the size of the text that drops down from the menu on 
   my website, and I found where I need to place it (in Additional CSS), but the
   additional CSS is just this:
 * /*
    You can add your own CSS here.
 * Click the help icon above to learn more.
    */
 * So I placed this code below:
 * #mainnav li .sub-menu a {
    font-size: 14px; } but it didn’t work. Then I tried
   just replacing it, and it still didn’t do anything. How can I make it work?

Viewing 7 replies - 16 through 22 (of 22 total)

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

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
