Title: Editing Theme File, Crashed Website?
Last modified: September 1, 2016

---

# Editing Theme File, Crashed Website?

 *  [omarochoa](https://wordpress.org/support/users/omarochoa/)
 * (@omarochoa)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/editing-theme-file-crashed-website/)
 * Hello all,
 * I was editing a blog of mine on WordPress at [http://jonathangcameron.com/](http://jonathangcameron.com/)
   and went into custom-header.php and wanted to edit the color on the header bar
   of the website. The theme is a free theme on WordPress called Flatter. It initially
   read:
 *     ```
       //If no custom options for text are set, let's bail
       //get_header_textcolor() options: HEADER_TEXTCOLOR is default, hide text (returns 'blank') or any hexvalue
       if ( HEADER_TEXTCOLOR === $header_text_color ) {
               return;
       }
       ```
   
 * I edited the portion ” === $header_text_color ” to say ” === #0f5971 ” and when
   I hit Update File to see the changes, the website showed this error message.
   
   __
 * “Parse error: syntax error, unexpected ‘return’ (T_RETURN) in /home/camerondowning/
   public_html/jonathangcameron.com/wp-content/themes/flatter/inc/custom-header.
   php on line 43”
    __
 * How can I fix it? I can’t even log into the WordPress site to undo any changes.
 * Regards

Viewing 1 replies (of 1 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/editing-theme-file-crashed-website/#post-7631325)
 * Access your server via [SFTP or FTP](https://codex.wordpress.org/FTP_Clients),
   or a file manager in your hosting account’s control panel, and edit the file 
   with a [plain text editor](https://codex.wordpress.org/Editing_Files#Text_Editors).
 * When you have undone what you changed and saved the file, I recommend reporting
   the issue at [https://wordpress.org/support/theme/flatter](https://wordpress.org/support/theme/flatter)
   so the theme’s developers and support community can help you with this.

Viewing 1 replies (of 1 total)

The topic ‘Editing Theme File, Crashed Website?’ is closed to new replies.

## Tags

 * [Crash](https://wordpress.org/support/topic-tag/crash/)
 * [editing](https://wordpress.org/support/topic-tag/editing/)

 * 1 reply
 * 2 participants
 * Last reply from: [James Huff](https://wordpress.org/support/users/macmanx/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/editing-theme-file-crashed-website/#post-7631325)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
