Updated theme.

Questions related to the configuration of Wordpress, themes, and security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Sun Dec 14, 2014 2:59 am
Hi!

I have received an update for my Wordpress theme StoreFront.

I made some changes to the CSS.

Most changes to the CSS has been sizes or "display:none"

If I upgrade my theme, I have problems?
User avatar
Junior Boarder

GK User
Mon Dec 15, 2014 9:18 am
Hi,

Unfortunately this update is not connected with your theme (it's another theme with the same name).
Please check your StoreFront -> Updates section to see if you theme is up to date and check this article about updates:
https://www.gavick.com/documentation/wo ... -gk-theme/

Generally, you should keep your css modifications in the override.css file (all changes in one file) and during the update you can copy this file and restore it after the update.
User avatar
Moderator

GK User
Tue Dec 16, 2014 10:21 pm
Thank you!

I did not understand.

What do you mean by keeping all the changes in the override.css file?

I made changes to many files and can not remember what they were.

What if I do not update one theme?
User avatar
Junior Boarder

GK User
Tue Dec 16, 2014 11:21 pm
These articles should be helpfull:
https://www.gavick.com/documentation/wo ... gk-themes/
https://www.gavick.com/documentation/wo ... -gk-theme/
Generally, you should override existing css rules in the override.css file

Regarding the updates - are strongly recommended, because sometimes the update improves security, adds additional features, fix bugs etc.
User avatar
Moderator

GK User
Fri Dec 19, 2014 7:26 am
Thank you!

I changed the template.css files, style.css, wp.css, etc.

Means that I can not update my theme because I lose my changes?
User avatar
Junior Boarder

GK User
Fri Dec 19, 2014 8:30 am
You can update your files manually (there's a changelog with each update), so you can compare files and update only changed.
If you copy the whole StoreFront directory - yes you will lose your changes, that's the reason of keeping all of css modifications in override.css file. (or you can also use Child Theme for your modifications).
User avatar
Moderator

GK User
Wed Dec 24, 2014 6:56 am
And how do I update manually?

What are the files I need to change?
User avatar
Junior Boarder

GK User
Wed Dec 24, 2014 9:08 am
You have to compare version of your theme with the current version (Dashboard -> Storefront -> Updates)
Here you can find link to theme updates, click "download" to download the latest version
Changelog are placed in the Updates section:
https://www.gavick.com/updates?task=upd ... 30&catid=4
so you have to replace all listed files.

Generally if you've changed only 3 css files, maybe will be easier to add your modifications again (this time try to use override.css file).
User avatar
Moderator

GK User
Fri Dec 26, 2014 10:42 pm
There is a problem.

For CSS files, can not remember which lines were modified.

If I use a program to compare files, this I will put all differences.

So I could never know exactly what I should change and that should not change.
User avatar
Junior Boarder

GK User
Mon Dec 29, 2014 9:52 am
Generally, there's only o few changes in css files (more modifications are added into php files), so you can try to compare.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.