By valel46 on
Hi,
I tried searching the site and forum, all the guides are about upgrading a theme from different versions. But how do you update a theme within the same version? The theme I'm using right now just released a new version with some minor fixes yesterday. What is the best way to perform this update? Do I disable the theme and just re-upload the new version? Also, can I use the same style.css file since I've made some changes to it?
Thanks in advance.
Comments
backup, delete, replace, review
Hi Valel46,
(these instructions are for an unmodified version of a theme.)
Make a backup of the database & the website files.
Download a uncompress the updated theme files.
Login as user-1 to your drupal site.
Set your site to off-line mode from within site maintenance.
FTP to the folder for the theme on your server. if for example your theme was Acquia Marina, the path could be:
/httpdocs/drupal/sites/all/themes/acquia_marina/
Delete all the files within the folder for your theme.
Upload the new files that you have already downloaded from drupal.org and uncompressed on your local machine
Review your site and if everything is okay, set your site back to on-line mode from within site maintenance.
Review your site again and if there are any issues, repeat the process to roll back to the previous version of the theme until you can identify what is causing the issue.
Hope I haven't left anything out.
Best regards,
Hi conorc, Thanks a lot for
Hi conorc,
Thanks a lot for the instructions, I've successfully updated the theme.
For the style.css file, I've made all the changes on the new one instead of reusing the old one, because I noticed there were some changes to it.