-
AuthorPosts
-
July 17, 2018 at 7:32 pm #986598
I’ve started re-building my site now for a month and so far haven’t used a child theme.
Now that I need to add some codes to the header, I see that I should have this.
I followed a tutuorial but can’t seem to get ‘Enfold Child’ to come up under Appearance – Themes.
Will there be any problems with what I’ve created so far if I add a Child Theme now (only made a lot of custom CSS in the dashboard and some changes to functions.php)?
How exactly should I go about adding ‘Enfold Child’ if it’s not coming up when I search it? Is that tutorial outdated?
Is there a better option for added codes to the header?
Please advise, site info in PC.July 18, 2018 at 2:27 pm #986987Hey Moondreamer21,
Here are the docs for you, where you can find how to install the child theme:
If you need further assistance please let us know.
Best regards,
VictoriaJuly 21, 2018 at 6:56 pm #988187I appreciate that but before I go forward, I’d like the questions I asked above answered:
Again – I’ve started re-building my site now for a month and so far haven’t used a child theme.
Now that I need to add some codes to the header, I see that I should have this.
– Will there be any problems with what I’ve created so far if I add a Child Theme now (I have made a lot of custom CSS in the dashboard and some changes to functions.php)?
– Is there a better/easier option for added codes to the header outside of installing a Child Theme?July 22, 2018 at 5:16 am #988271Hi,
There should be no problems adding your child theme at this point, but you will need to gather your codes that you added to your functions.php and add them to your child theme functions.php
The css you added to your Quick CSS will be imported into your child theme.
The only issue that some have, is clicking the wrong button when installing the child theme, I’ll explain more about this below.
While you can add codes to the header easily without installing a child theme, you will run the risk of losing all of your custom functions.php codes if you update the Enfold theme.When you are ready to install the child theme, please disable all caching and copy all of your custom functions.php codes to a text file, then copy all of your quick css to another text file (because our moto is is “back it up”, right :) then go to Enfold Theme Options > Import/Export > Export Theme Settings File, and save it to your computer “back it up”
Then go to the link in the Private Content area and download the child theme file, please don’t use a plugin for this step, download the real child theme and upload it to your themes and activate.
Then Go to Enfold > Import/Export > Import Parent Theme Settings and click the blue button “Import Parent Theme Settings”When this is done, you will need to go to your homepage and refresh a couple of times and clear your browser cache a couple of times. In some rare cases a couple of colors won’t be right, typically the link colors, don’t panic, this is rare, just let us know and link to your “Theme export file” that you saved earlier.
The last step is to add your custom functions.php codes into your child theme functions.php
I hope this helps put your mind to ease, and remember you can also do a full backup via your webhost to be really sure.
Best regards,
MikeJuly 31, 2018 at 2:08 am #991783Hi Mike – please help!
I followed all the steps you shared above, but have run into a problem with adding the custom code from functions.php into the child theme file (under Editor -> Appearance). I keep getting errors when I try, and on top of that my site is REALLY messed up looking now, even though I successfully imported the parent theme settings.
I’ll share links to my parent functions.php file as well as ‘theme export file’ I saved in the PC below.
Can you troubleshoot please?July 31, 2018 at 5:24 am #991799Hi,
Ok, I got your child theme working correctly now, with the theme settings and the custom functions.
Please clear your browser cache and check.Best regards,
MikeAugust 1, 2018 at 2:57 am #992153Thank you so much Mike, it looks great! :)
August 1, 2018 at 4:00 am #992157Hi,
Glad to help :)
unless there is anything else we can help with on this issue, shall we close this then?Best regards,
MikeAugust 1, 2018 at 8:19 pm #992549You bet, looks like we are safe to close this one. Thanks again! :)
August 2, 2018 at 2:48 am #992643Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.For your information, you can take a look at Enfold documentation here
For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)Best regards,
Mike -
AuthorPosts
- The topic ‘Question About Adding a Child Theme’ is closed to new replies.