Tagged: 

Viewing 17 posts - 1 through 17 (of 17 total)
  • Author
    Posts
  • #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, 5 months ago by Devin. Reason: fixed formatting
    #281697

    Hi 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, 4 months ago by Devin.
    #282772

    hi-
    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?

    #282835

    Hey!

    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ünter

    #282843

    Hi!

    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!
    Ismael

    #282852

    I 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.

    #282904

    Hey!

    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,
    Ismael

    #283091

    Hi!

    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!
    Devin

    #283134

    Thanks,
    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.

    #283185

    Hi!

    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,
    Peter

    #284741

    I 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”);

    #284824

    Hi!

    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,
    Peter

    #289711

    Every 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.

    #289801

    Hi!

    That’s expected, WordPress stores those settings (widgets, menus locations, etc) with the theme name as the identifier.

    Regards,
    Josue

    #289862

    So I have to put it in maintenance mode and reapply the settings to make it look like the parent?

    #289865

    Yes, 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,
    Josue

    #289867

    I did that. thanks

Viewing 17 posts - 1 through 17 (of 17 total)
  • The topic ‘Child Theme After-the-fact’ is closed to new replies.