• Hallo liebe Helfer,
    ich versuchte gerade die Hintergrundfarbe der Seiten auf unserer Schulhomepage zu ändern und gab dafür diesen Befehl in die custom-header-php ein, den ich in einem Forum gefunden habe :

    .hentry {
    background-color: #ffffff !important;
    }

    Resultat:
    Parse error: syntax error, unexpected ‘.’ in /var/www/clients/client26/web16/web/wp-content/themes/twentyfifteen/inc/custom-header.php on line 358

    Ich kann mich nichtmal mehr einloggen, um es wieder zu korrigieren.
    Der Server auf dem ich arbeite ist von der Stadt, weil das ja die Schulhomepage ist.
    Ich habe jetzt FileZilla runtergeladen, aber weiß garnicht, was ich damit machen soll.

    Bitte helft mir schnell, denn so lange gibt es keine Homepage mehr.

    Liebe Grüße

Viewing 1 replies (of 1 total)
  • Moderator James Huff

    (@macmanx)

    That’s CSS code, you should add it to your theme’s style.css file, not a .php file.

    Access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate so you can access your site again and make the necessary changes.

    If this explanation doesn’t translate well, I recommend visiting http://de.forums.ww.wp.xz.cn/

Viewing 1 replies (of 1 total)

The topic ‘Parse error’ is closed to new replies.