• Resolved minahark

    (@minahark)


    I built this site in a dev environment in a different domain, when I copied everything over, it looked great, like my dev version, however I had to fix the media files paths, so I went to the db and did some stuff that didn’t work. I backed it up right before that, so I do have a back up.

    When I uploaded the backup, my theme custom styles were completely gone, I just need an idea of what exactly in the db could have disrupted my css and wherever the theme-specifics settings are.

    I appreciate any help!!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    If you did some modification to css, your style is not in database, but saved in theme’s file.
    Some settings of theme are stored wp_option table in database, some can be in wp_postmeta

    Thread Starter minahark

    (@minahark)

    Here is what I ended up doing: I downloaded the wp_options from the staging database and imported it o the new live database, since this was a theme options problem, not a css problem. Even though I lost some changes I had made to the current site, it was easier than doing the entire import again.

    Some sites suggest to run a SQL query and replace all the old url fields with your new url. This can lead to many issues and caused some of my theme options to be erased in the first place. Still looking into how to completely migrate the db without messing up other features.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Restored database from recent backup and all my custom theme styles are gone’ is closed to new replies.