• Greetings,

    I’m using PrimePress and have recently updated WP to 3.1.2 and the PrimePress theme. I lost all customization, including css. Not a biggie, but would rather not recreate this stuff each time. I think I’ve seen something about making changes to a ‘sub-theme’, then upgrading the theme wouldn’t lose my changes. Anyone have any thoughts on how to prevent from losing the customizations from upgrade to upgrade?

    Thanks,
    Chris

Viewing 2 replies - 1 through 2 (of 2 total)
  • Yeah, I hear you. I know what to save between upgrades, so I don’t get nailed. But I’d rather not think about it. So today, I made a child theme. The only thing I needed to save was CSS, so it was a snap – basically just a new folder, a “style.css” with the necessary code telling which theme is the parent, and my CSS code below that.

    I’m a geek, so it took me about 10 minutes, but if you follow instructions carefully and are reasonably proficient, it’s quite easy:

    https://codex.www.ads-software.com/Child_Themes

    Possibly gotcha: in the example, note the “import” statement. That will make sure you’re pulling in the parent theme’s CSS.

    btw, this is for the main site theme. I don’t know what Prime Press is, or if you can do a child theme for that.

    Cheers

    Thread Starter iammaddog

    (@iammaddog)

    That’s it! Child Themes! Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to keep theme/css changes when upgrading theme’ is closed to new replies.