Tagged: child theme
-
AuthorPosts
-
May 11, 2017 at 7:02 pm #791829
Hello! The folks we hired to build our new site did so using Enfold but did NOT use a child theme. I would like to have a child theme. Is there a way to turn what they have already done into a child theme so that theme updates will not harm our current website?
Or is this even necessary?
I appreciate any advice you can give me.
Thanks
May 11, 2017 at 7:07 pm #791835Hey charmedrunning,
First please view the following: http://kriesi.at/documentation/enfold/using-a-child-theme/,
It is a great idea to use a child theme as it assures that your site will be safe from updates related breaks or data loss.
As for keeping your current customization, copy all of your custom CSS into the child theme style.css file. If some of it does not work then try using the !important override like so.
a { color: red !important; font-size: 12px !important; }
Best regards,
Jordan ShannonMay 11, 2017 at 7:18 pm #791847Oh boy, ok. And this tutorial video will step me though turning my theme into a child theme?
Thanks…
May 11, 2017 at 7:24 pm #791852Hi,
Yes it will show you how to set-up a child theme for your site. Again, be sure to copy all of the custom css (including quick css) of the parent theme into child theme and you should be just fine.
As always, remember to perform a full back-up before proceeding.
Best regards,
Jordan Shannon- This reply was modified 7 years, 6 months ago by Jordan Shannon.
May 11, 2017 at 8:31 pm #791889Hello Jordan!
I followed along with the tutorial, and downloaded the pre-built child theme. It is identical to the enfold theme currently in my themes folder. I assume this is because I don’t have the original unaltered enfold theme in my theme folder. Is this correct?
May 11, 2017 at 8:49 pm #791901Hi,
Yes, currently the styles are being pulled from the unaltered folder.
Best regards,
Jordan ShannonMay 11, 2017 at 9:08 pm #791912So I need to remove the enfold theme that is in there now and upload the unaltered original enfold theme, correct?
May 11, 2017 at 9:14 pm #791915Hi,
The child theme should be pulling styles from the altered parent theme. Copy the styles from the parent theme into the child theme including any quick css that was in the parent theme. If your changes are not immediately visible, please be sure to clear your cache.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.