• After accidentally removing some code from the style sheet, my website no longer works at all! I have no idea what I have done but i can’t even get onto word press editor now, its like the site doesn’t exist! I was only trying to center the imagery and text so i may have deleted the side bar information, but why would this make my whole site crash??

    this is what i think i removed …

    // Standard Right Sidebar
    case “standardright” :
    echo ‘<div class=”container”><div class=”row”><div class=”col-md-8″>’;

    https://www.cocographics.co.uk

Viewing 2 replies - 1 through 2 (of 2 total)
  • Style sheets don’t contain PHP code in them. Sounds more like you edited a PHP file which now contains an error causing the execution to halt and you get a white screen. There is probably a PHP error_log file in your blog’s directory which contains the error message.

    To know how to fix it we would need to see the code around the line that the error_log mentions. Another option maybe to upload an unmodified version of whatever PHP file that is from your theme.

    What theme were you using and were you making your modifications using a child theme?

    Thread Starter cocorr

    (@cocorr)

    Hi thank you for the response! My theme was called emphasize, i am really inexperienced with coding so removed something which i guess was PHP code to see what it would change with the intention of pasting it back in place but then i lost all access, so i have really messed it up! I don’t know how to upload an unmodified version :/ i was not using a child theme, as i said before, I’m not very knowledgeable with coding! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Web site not working’ is closed to new replies.