Tagged: child theme
-
AuthorPosts
-
April 28, 2017 at 3:39 pm #784641
Hi, i worked initially on parent theme and then I realized it would be better to work on a child theme (in order to avoid any changes in updating wp). I uploaded child theme following your guide http://kriesi.at/documentation/enfold/using-a-child-theme/
But the child theme didnt import all changes and website results very different: layout parameters set in the parent theme options are not inherited in child. I didn’t work on style.css editor. I did the only css changes in the quick css section (theme options / general style / quick css) but they are not imported.
How can I have the same identical site, with child theme, without re-designing many parts?
Thnk you,
BernardoApril 28, 2017 at 3:59 pm #784659Hey BernardoBussi,
Which files have you modified?
When you activate Enfold child theme, you can go to Enfold theme options and import parent theme options with a single click. When you successfully move your modified files to your child theme after that, you will not have any issuesBest regards,
Jordan ShannonApril 28, 2017 at 4:17 pm #784673Hi Jordan, i followed the procedure but i noticed that the theme options set in parent don’t work in child. I noticed that the settings in child theme are equal to parent but don’t work, when I view the site layout is different (like alternate content area font color etc.)
For rexample, i just made these changes to css, with quick css (not in editor).logo img {
padding-top: 20px;
padding-bottom: 20px;
}@media only screen and (max-width: 767px) {
#layer_slider_1 {
display:none !important;
}
}I see this code written in child theme options section, but does not work when I view the site
April 28, 2017 at 11:39 pm #784849Hi,
Did you make sure to flush your cache? Also, add !important; to your logo css.
Best regards,
Jordan ShannonApril 28, 2017 at 11:41 pm #784850Hi,
Also, when you save the styling options the theme writes to the uploads/dynamic_avia/enfold.css file and with a child theme it would be uploads/dynamic_ava/child-theme-name.css file. If that file isn’t there or if it doesn’t have server permissions that allow WordPress to write to it then the css can’t be updated or Quick CSS added to it.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.