WordPress.org

Ready to get started?Download WordPress

Forums

Weekly Schedule
CSS mangled in upgrade to 3.4.2? (5 posts)

  1. richschmidt
    Member
    Posted 1 year ago #

    Everything looked great in WP 3.4. When I upgraded to 3.4.2, the CSS seems to have lost its mind.

    Maybe it's a problem with edits I'd made, so that something was overwritten in the upgrade? But I don't think so. Or maybe a change in the included jQuery threw things off?

    Specifically, the far-left column (with the times in it, CSS div class "vertical column") lost its float: left and width: 100px definitions, so everything got pushed down below it. Also, for some reasons, all the colors vanished...?

    http://wordpress.org/extend/plugins/weekly-schedule/

  2. richschmidt
    Member
    Posted 1 year ago #

    Evidently the problem came when I updated the plugin itself. It overwrote the css, which included the colors & other edits I'd made.

    Not sure why it borked the "verticalcolumn" part... Oh well. Fixing it now...

  3. Mohd Rafie
    Member
    Posted 1 year ago #

    Hi Rich,

    In order to prevent this from happening again, I advise you:

    1. Create a backup before upgrading or updating the themes and plugins.
    2. Other than that, ideally, you want to store the CSS edit on a separate file ie custom.css or using a Custom CSS plugin.
    3. If you're well-versed in WordPress, you may create a child theme and you're free to edit your child theme.

    Hope this will be beneficial for you and others.

  4. richschmidt
    Member
    Posted 1 year ago #

    Thanks, Mohd. I had a backup, and that's how I found the differences.

    The css is in the plugin folder, not the theme folder. Not sure if I could've put my additions somewhere else or not. Maybe so. But the instructions that come with the plugin itself make it sound like it's safe to edit the plugin's css file directly. I guess not.

    I'll know for next time, I guess. :)

  5. Mohd Rafie
    Member
    Posted 1 year ago #

    Good to know. Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic