WordPress.org

Ready to get started?Download WordPress

Forums

Minimalism child-theme disaster - help! (3 posts)

  1. torta
    Member
    Posted 1 year ago #

    Hello everyone,
    I think I need some help, tonight I made an extremely painful experience:
    I've been using WP 3.3.1 with minimalism by Christian Genaehr on my website for almost a year now. Initially I modified the theme's style.css file (only header image, column sizes, spaces), which was almost okay, but had certain bugs that came from my severe ignorance with html and css. Well, it worked more or less.

    Later I found out there was a "smart" way for doing this, so I tried to make a child-theme for minimalism and sort out the bugs. I was following the step by step instructions provided at http://codex.wordpress.org/Child_Themes

    First, I renamed the already installed theme folder to minimalism-child, then I copied the unaltered original folder into the same wp-themes directory.
    I modified the /* information header of the style.css file in the child folder according to the guide. Since this was the original theme's modified file already, I left "The part after the closing */ of the header" wich is supposed to work "as a regular stylesheet file" unaltered assuming it would override the parent file's code. Now my parent file was the unaltered original, and the child file was the original modified by me with a new child-header.

    I did not deactivate the theme during this process.

    First, the child theme did not appear on my dashboard, only after activating a different theme. Then I activated or at least was trying to activate my new child theme but I ended up with my dashboard AND website going absolutely blank.

    Finally I removed the unaltered theme folder from the wp-themes directory, I renamed the minimalism-child directory to plain minimalism and restored the code in the style.css file to the initial state (that is, with my initial modifications).

    My site and my dashboard returned to life, but the appearence of the blog lost the modifications I made to it. The content was there, the theme was there, only my column widths and header image went lost - while the css code is still containing the according information (I made a backup copy of it).

    I'm pretty sure I made a mistake by not deactivating the theme while manipulating it. But I think there was something else too. This act of replacing theme folders somehow seemed to affect the functionality of the whole WordPress installation. Do you think it is possible to return to the initial state without asking my service provider to restore the database or whatever? What should I do differently next time I try?

    I didn't want to display my messed up page publicly, so I redirected it to a simple text page, that's the reason for not providing a link here.

    I would appreciate your help a lot.

    Learning by doing is fun, but this time it was too much fun already.

  2. Krishna
    Volunteer Moderator
    Posted 1 year ago #

    so I redirected it to a simple text page, that's the reason for not providing a link here.

    But it helps us to understand where what went wrong. So, if you can post a link.

  3. torta
    Member
    Posted 1 year ago #

    Thanks for the reply.

    Meanwhile, the site got back to normal without my intervention. I guess that must have something to do with some server events in the background.

    The question is still there: what is the best way of creating a child theme once I have started using already the messed up the original?

    This is the link to my site.
    (My header doesn't work as a home-link as I would like it to, but first I would attempt to solve it by myself using firebug).

Topic Closed

This topic has been closed to new replies.

About this Topic