How to update colorscheme to newest version

02/06/2017
by alexbranding team

In this lesson we will consider the procedure for updating the file of your color scheme, this is necessary after updating the UniTheme theme to version 1.5 (from 01.06.2017).

What does this lesson give you, why you need to update it?

In our UniTheme template, the structure dynamically evolves and the appearance of some elements of the theme changes with each update, some pre-settings for individual color layout of template page elements can be recorded in the color scheme file. In order to update the color adjustments that we conceived with your color scheme, you need to update it or make a gluing of styles.

Simple update

If you have created your color scheme, based on the standard one, for example "Sunny" and did not make any changes to the colors, but simply uploaded the logo and the favicon, then you just need to repeat this operation. Make sure, that you have your logo and picture for the site icon (Favicon), then go to the admin panel [Design > Themes > Theme editor]. Select a color scheme ex. "Sunny" and click Save, specify a new name and then load your logo and favicon.

Gluing of styles

If you made changes in colors and formed your color palette, then you need to glue your styles with the current color scheme. Make sure that you have your logo and picture for the site icon (Favicon), then go to the admin panel [Design > Themes > Theme editor]. Select a color scheme, for example, "Sunny" and click "Save", specify a new name and then upload your logo and favicon.

Then go to the admin pane [Design > Themes > Templates]. In the opened file editor, find and open the color scheme you use [abt__unitheme / styles / data / your_old_colorscheme.less]. Copy the specified code snippet (from the line with the text ## Custom params to the bottom of the content in the file).

Open the color scheme, you created earlier [abt__unitheme / styles / data / your_new_coloscheme.less], and select the contents (from the line with the text ## Custom params to the bottom of the contents in the file) and replace it with the one copied earlier. Save your new color scheme.

After this procedure you will have the current color scheme with all the corrections provided by the UniTheme update to version 1.5 (from 01.06.2017).

Video with update procedure:
Comments

No posts found

Write a message