Custom CSS disappears from stylesheet

  • Unknown's avatar

    WP4.2.2 running Twenty Fourteen theme, with customisations.
    I use a server which manages the installation and performs automatic updates (is this the cause?).

    http://www.wcthompson.net/journal/?p=1

    Periodically I return to the site to find that my layout has reverted to a width of 474px, and that some lines of code have disappeared from my stylesheet (although others remain).

    Can anyone explain why this is happening, and how to stop it?

    My custom code:
    ‘.site-content .entry-header,
    .site-content .entry-content,
    .site-content .entry-summary,
    .site-content .entry-meta,
    .page-content {
    margin: 0 auto;
    max-width: 840px; /*changed by cass from 474*/
    }

    .page-content {
    margin-bottom: 48px;
    }

    .page-content {
    margin: 0 auto;
    max-width: 840px; /*changed by cass from 474*/
    }

    .page-content {
    margin-bottom: 48px;
    }

    /**
    * my_page_content and my_page_gallery edits by Cass
    * —————————————————————————–
    */

    .my_page_content {
    max-width:638px;
    float:left;
    }

    .my_page_gallery {
    max-width:200px;
    float:right;
    }’

  • Unknown's avatar

    Hello cass2018,

    This support forum is for blogs hosted at WordPress.com. Your question is specifically for a self-hosted installation of WordPress. You will need to seek help in the appropriate WordPress.org forum.

    https://wordpress.org/support/

  • The topic ‘Custom CSS disappears from stylesheet’ is closed to new replies.