Making changes to child theme
Hello again,
I am trying to make all sort of changes to the theme using the child theme, so that I don't have to loose everything when updating.
However, I can't figure exactly how to do it.
I am trying to change a few classes from the file css/layout.css but nothing I do works.
If I place the changed class in the child's style.css - it is being override by original layout.css
If I create a new layout.css and try the same - it just doesn't work at all.
What am I doing wrong here?
Also, if I want to change any other file, for example includes/header-top-area.php, where am I suppose to save it to?
And do I have to add the @import of original file at the beginning of mine?
Thanks!
I am trying to make all sort of changes to the theme using the child theme, so that I don't have to loose everything when updating.
However, I can't figure exactly how to do it.
I am trying to change a few classes from the file css/layout.css but nothing I do works.
If I place the changed class in the child's style.css - it is being override by original layout.css
If I create a new layout.css and try the same - it just doesn't work at all.
What am I doing wrong here?
Also, if I want to change any other file, for example includes/header-top-area.php, where am I suppose to save it to?
And do I have to add the @import of original file at the beginning of mine?
Thanks!
Comments
our theme is fully written in accordance to wordpress API so please take a look on http://codex.wordpress.org/Child_Themes where everything about child themes has been described and all will be clear.
I guess I will just have to play with the files while always saving backup and see what happens...
Thanks!