Tagged: child theme
-
AuthorPosts
-
June 19, 2014 at 11:53 pm #281452
I thought I saw a post from someone about doing a child theme after the site is finished. Now I cannot find that post.
I have been in denial and am now just having the nightmare of when Enfold sends its upgrade I will lose all of the work I put into the site.I tried watching the video by Devin a few times but it all seems so complicated.
2 questions:
-Can you direct me to that post about doing child themes after the fact?
– Can you direct me to a simple way to do a child theme if it is possible to do it after the site is finished?- This topic was modified 10 years, 6 months ago by Devin. Reason: fixed formatting
June 20, 2014 at 5:44 pm #281697Hi KK!
Unless you’ve done any changes to the theme files you won’t lose anything when you update.
If you want to download a pre-created child theme we have one to download here: http://kriesi.at/documentation/enfold/using-a-child-theme/
We don’t have anything written or recorded at the moment for creating a child theme and moving to it after setting up the main site but I’ll add it to my to-do list.Edited as details are included on the theme documention site.
Regards,
Devin- This reply was modified 10 years, 6 months ago by Devin.
June 24, 2014 at 1:35 am #282772hi-
I imported and activated the enfold-child theme but don’t see the place on THEME OPTION section to “Import Settings from your Parent Theme”. Which sounds great if it works!Did it move since this posting?
http://kriesi.at/documentation/enfold/using-a-child-theme/And then…. I always forget… do we work from the child theme or parent theme?
June 24, 2014 at 7:34 am #282835Hey!
Yes, go to Enfold > Theme Options > Import/Export and click the blue button..
do we work from the child theme or parent theme?
I’m not sure if I understand your question but you must activate the child theme (Appearance > Themes) like a standard theme and then you work “from the child theme”.
Regards,
GünterJune 24, 2014 at 7:48 am #282843Hi!
The documentation (http://kriesi.at/documentation/enfold/using-a-child-theme/) needs an update. I’ll ask Devin to update the topic to avoid confusion. Please do as Gunter suggested.
Cheers!
IsmaelJune 24, 2014 at 8:05 am #282852I don’t see a blue button.
and yes, thanks for straightening out my question. I meant, which theme do you activate and continue to work on and customize if desired.
June 24, 2014 at 10:17 am #282904Hey!
You should activate the child theme. You can now see the button inside the Import/Export panel. You’ll need to do all modifications on the child theme files. The css modifications can be added on the child theme’s style.css file and additional functions on the child theme’s functions.php file.
Regards,
IsmaelJune 24, 2014 at 3:52 pm #283091Hi!
I’ve updated the docs to reflect the new menu structure if you are still unsure: http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
DevinJune 24, 2014 at 5:14 pm #283134Thanks,
I will look at that.
I did what was instructed but my child theme did not pick up all the changes. I can’t mess with it this week as my client is at an important conference.June 24, 2014 at 6:47 pm #283185Hi!
You can stick with the parent theme for now and then switch to the child theme after the conference. However the change should work flawlessly in most cases.
Best regards,
PeterJune 27, 2014 at 11:19 pm #284741I must have done something wrong.
Isn’t it just about giving the child theme a code to import the style.css? I am probably not saying that correctly.example: The theme Avada,comes with a child theme. the code in the style.css file is as follows:
/*
Theme Name: Avada Child
Description: Child theme for the Avada
Author: Your name here
Template: Avada
*/
@import url(“../Avada/style.css”);so– can I just change the name Avada to Enfold and make sure the files are in the right place in the directory>?
/*
Theme Name: enfold-child
Description: Child theme for the enfold
Author: KK
Template: enfold
*/
@import url(“../enfold/style.css”);June 28, 2014 at 11:12 am #284824Hi!
No, the child theme style.css doesn’t necessarily import a stylesheet of the parent theme. It depends on the theme code. I.e. for Enfold the Avada code doesn’t work and you can use this code instead:
/* Theme Name: Enfold Child Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold WordPress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then. Version: 1.0 Author: Kriesi Author URI: http://kriesi.at Template: enfold */ /*Add your own styles below:*/
Best regards,
PeterJuly 10, 2014 at 8:32 pm #289711Every time I try to create a child theme, things happen:
The site defaults to Blog on Front page as opposed to Static page, like I had it (easy fix).
But the footer loses its style and there are 2 HOME buttons in the main menu and bits and pieces here and there. I am afraid to keep using the child theme.In fact, anytime I switch themes the theme defaults to “Your latest posts” for front page display.
July 10, 2014 at 11:43 pm #289801Hi!
That’s expected, WordPress stores those settings (widgets, menus locations, etc) with the theme name as the identifier.
Regards,
JosueJuly 11, 2014 at 1:55 am #289862So I have to put it in maintenance mode and reapply the settings to make it look like the parent?
July 11, 2014 at 2:08 am #289865Yes, you’d need to re-set your Widgets and Menus.
The Theme Settings (Quick CSS, Styling, etc) however, can be transferred with this button:
Best regards,
JosueJuly 11, 2014 at 2:10 am #289867I did that. thanks
-
AuthorPosts
- The topic ‘Child Theme After-the-fact’ is closed to new replies.