WordPress.org

Forums

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

  1. OperaManiac
    Member
    Posted 1 year 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 1 year 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 1 year 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 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic