Update theme
To ensure a smooth update process and maintain the integrity of your customizations, follow these recommended steps when updating your theme.
Steps for updating the theme
-
1. Backup your current project:
Before proceeding with any updates, create a complete backup of your current project. This will allow you to restore your site to its previous state if anything goes wrong during the update process.
-
2. Review the changelog:
Examine the theme's changelog, which provides a detailed list of modifications and updated files. This will help you identify which files need to be updated.
-
3. Extract the Latest Version
Extract the latest version of the theme from the
.zip
file you received. Follow the steps below to update specific files and folders:- SCSS: If you have used the SCSS Method for customization, replace the updated
.scss
files with your current files only if you haven’t made changes to them. After replacing, recompile your SCSS files by running gulp - CSS: If you used the CSS Method Method for customization, replace the updated
.css
files with your current files only if you haven’t made modifications. - JS: Replace the
function.js
file with the latest version provided in the update - Vendor: Replace the entire vendor folder with the new version from the update package. After replacing, recompile your changes by running Gulp.
- HTML: Review the notes in the changelog related to HTML changes. Compare your current HTML files with the updated versions and apply changes accordingly
- Other: For any additional changes not covered above, refer to the notes included in the changelog and update as necessary.
- SCSS: If you have used the SCSS Method for customization, replace the updated
If you encounter issues after updating, you can revert to your previous version using the backup files you created.