-
AuthorPosts
-
March 2, 2014 at 9:53 pm #231301
Hey guys,
After installing Enfold, I made some structural changes to functions.php and style.css. I want to update to the new version of Enfold, and don’t want to find out where my edits are and what they were, and manually apply my changes again. I was wondering if I could get around this by doing the following:
– Install the child theme I downloaded from the Envato page.
– Copy/paste the content of Enfold functions.php and style.css to the Child theme files
– Then update Enfold to the latest versionWill this circumvent losing any changes I’ve made?
March 3, 2014 at 12:41 am #231334Hey!
You can try it without losing anything:
1. Rename your current version of Enfold to something like enfold_old.
2. Upload the child theme (with functions.php and style.css modified).
3. Download and upload the latest version of Enfold with the folder name of enfold.This way if things go wrong, you can simply switch between your old modified version of Enfold and the latest one, renaming it.
Best regards,
JosueMarch 3, 2014 at 9:46 am #231448Ok, I’m setting things up to try this, but in the CSS file of the child theme I read the following:
* PLEASE DO NOT EDIT THIS FILE!
*
* This file is only in your themefolder for WordPress to recognize basic theme data like name and version
* CSS Rules in this file will not be used by the theme.
* Instead use the custom.css file that is located in your themes /css/ folder to add your styles.
* You can copy a style rule from any of your css files and paste it in custom.css and
* it will override the original style. If you just want to add small css snippets you might also
* want to consider to add it to the designated CSS option field in your themes backend at: Theme Options->Styling
*/Does this mean if I copy/paste the css from my edited enfold stylesheet, this css will not be applied?
My grasp of the steps to follow at the moment:
– Copy/paste all content from my edited enfold functions.php and style.css to the same files of the child theme
– rename enfold in the WP editor to enfold_old
– upload child theme and activate it
– Upload new enfold versionIs this correct?
March 3, 2014 at 6:03 pm #231698Hey!
The child theme style.css should have something like this:
/* 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 here:*/
You can add the css modifications below.
Regards,
IsmaelJune 4, 2015 at 8:53 am #454295This method sounds pretty safe for changing to a child theme. I am unclear on where you rename enfold to enfold_old? Would this be in the themes folder on the ftp? or somewhere else?
June 4, 2015 at 6:34 pm #454679Hey!
That is in case you want to save your customizations that you have done to the theme files. What I would do is zip it up and save it to your desktop. You can find that area in your WordPress theme directory, /wp-content/themes/.
Regards,
ElliottJune 5, 2015 at 8:30 am #454985Hi Elliot,
I am changing to a child theme, But I already made a lot of changes to the theme. So I made the child theme according to all the advice I got here.But I need a way to secure I can always return to what I have now. The way suggested here sounds good because I could always go back to the child to the enfold_old. Is it possible to lose all the layout builder info when you changes themes?June 6, 2015 at 8:56 am #455417Hi!
All options should stay intact including the advance layout builder content. Please refer to this link on how to properly move to a child theme: http://kriesi.at/documentation/enfold/using-a-child-theme/
Cheers!
IsmaelApril 2, 2017 at 5:51 pm #770682Hi all,
When you import the theme settings from the parent theme, does that include all the page builder pages? I have built multiple pages using the page builder and have saved several templates. Would all this be important as well or only the settings within the theme options panel?
Thanks,
LeydenApril 2, 2017 at 7:12 pm #770710Hi,
You find this helpful: https://kriesi.at/support/topic/how-to-export-the-template-from-the-enfold-theme/#post-741852Best regards,
Mike -
AuthorPosts
- You must be logged in to reply to this topic.