WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Jetpack does not keep custom CSS if theme is changed? (5 posts)

  1. OperaManiac
    Member
    Posted 9 months ago #

    I lost my custom CSS when I changed theme. I realize that custom CSS is stored in the database. But I have posts revision feature disabled. Would there still be a copy somewhere? Reverting back to the original theme did not restore the custom CSS.

    http://wordpress.org/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Could you try to enable Post Revisions again, and check the sidebar under Appearance > Edit CSS to see if the last CSS revision appears there?

    If it doesn't help, could you let me know your site URL? I might be able to grab a cached version of your custom CSS code.

    Thanks!

  3. OperaManiac
    Member
    Posted 9 months ago #

    Enabled Post Revision. Found the Custom CSS in browser cache. Saved the day for myself. Now I am keeping three revisions for all forms of content. Thanks!

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 9 months ago #

    Great!

    Instead of completely disabling Post Revisions, and if you're worried about the space all post revisions can take in your database, you could choose to keep them on, but limit the number of revisions saved for each post:
    http://codex.wordpress.org/Editing_wp-config.php#Specify_the_Number_of_Post_Revisions

    That should help!

  5. OperaManiac
    Member
    Posted 9 months ago #

    Yes. I have it set at 3 revisions which should be safe enough. I usually disable the feature because of the jump in post ids.

Reply

You must log in to post.

About this Plugin

About this Topic