Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #809351

    Hi, it’s very important. Always when I create a site with ENFOLD I put the name of THEME with the same name as the client.

    For example:

    Theme folder with name my client. Inside this folder I put THEME ENFOLD files. But I noticed that CHILD THEME is not available for activation if the theme name is different from ENFOLD. How to solve this? I also modify SLYLE.CSS. I put the company’s customer data as well.

    Tell me how to solve this. It’s very important. Is it possible for the child to function?

    #809468

    Hey mleite1,

    You will need to edit the template name in the child theme’s style.css, please note that we do not recommend doing what you are doing, since you will likely have problems with automatic updates of the theme.

    Template: the name of your template

    Best regards,
    Rikard

    #809513

    Rikard, okay. I’m afraid of that. So what’s the best way for me to add new fonts to the system? Does it have to be by the Child Theme? Can it be any other way?

    #809522
    #809528

    Hi,

    The principal of the child theme is the same even though you have changed the name, as far as I know the only thing that will be affected is the ability to update it from the backend.

    Thanks @guenni007 for sharing :-)

    Best regards,
    Rikard

    #809544

    Guenni007, thanks for the help. This link helps those who are already starting the site creation with Child Theme. In my case I already have a site set up and I want to use the Child Theme. It’s quite different. I have the custom theme folder (another name other than Enfold). I also have custom style.css.
    So I’ve had a hard time working with Child. You see?

    If you can help, I’ll thank you.

    #809545

    Rikard, I always update manually. Ever. I drag the files via FTP to the theme folder. I just do not update the file FUNCTIONS.PHP and SCREENSHOT.png … In function I use DEBUG for CSS CLASS.

    One last question. Consider that my site is already created.
    I have a theme folder with the name of my client. For example: HIDROCON. In this folder I put the ENFOLD theme files.

    After this I go in STYLE.CSS and modify. I enter the data of my agency.

    QUESTIONS
    What should I do to run the Child Theme?
    1 – Will I have to rename the theme to ENFOLD?
    2 – Is there another way to put it to work?
    3 – Is it necessary to tinker with STYLE.CSS?
    4 – Where? What should I change?

    HIDROCON THEME FOLDER NAME

    CODE STYYLE.CSS that I use for this client.

    /*
    Theme Name: Milk9 CCES
    Description: A superflexible and responsive Business by Milk9 – <br/> Update notifications available on twitter, facebook and via newsletter:<br/> Follow me on twitter<br/> – Join the Facebook GroupSubscribe to our Newsletter
    Version: 4.0.7
    Author: Marcelo Leitte
    Author URI: http://www.milk9.com.br
    License: Estúdio Milk9
    License URI: –
    Theme URI: http://www.milk9.com.br
    */
    /*
    * PLEASE DO NOT EDIT THIS FILE!
    *
    * This file is only in your folder 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->General Styling
    */

    Does the style.css influence something? Does it need to be changed if you use CHILD?

    Help me … please!

    #809637

    Hi,

    I think the only thing you have to change is the name of the template in your child theme’s style.css file like I wrote earlier, update the name to correspond to the new name of the parent:

    Template: HIDROCON

    Best regards,
    Rikard

    #809671

    well to have the right understanding –
    1) you uploaded the enfold folder at install.
    2) you renamed the enfold folder to something else (like Kriesi said to have an own branding on it)
    3) you did that snippet :

    add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename');
     function avia_change_filename($stylesheet){
     return 'myfilename.css';
     }

    myfilename had to be replaced by the name of the renamed enfold

    you will have than in wp-content/uploads/dynamic-avia/ css files which have their own name
    4) you now want to have a child theme ?

    download that predefined child theme of enfold (downloads) – rename it to (in that case above) myfilename-child.
    Open the style.css of that child-theme folder and edit (these are only the necessary entries – rest is obligate):

    /*
    Theme Name: Myfilename Child
    Template: myfilename
    */

    Upload that folder to your themes folder.
    Activate the child in Appearance/themes.
    goto Myfilename Child (Enfold Options willl now named this way) an import parent-theme settings.

    #809753

    well – you can change in style.css of the parent-theme too the name – then on Dashboard – Appearance – Themes the changed Name is displayed under the screenshot.png’s (think of to upload new screenshots to make it right!) ( i tested it with name of the theme : elegant)

    If an automated Update of Enfold works if this is done – i don’t know. i always prefer the ftp method (and don’t forget to edit the style.css of the parent theme !)

    btw. i don’t know in which chronological order you made it. Importing parent settings only will work with that snippet above. So have a look if in your folder : wp-content/uploads/dynamic-avia/ there are those two files correlating each other ( in my case above elegant.css and elegant_child.css

    #809756

    Hi,

    Thanks for that @guenni007 :-)

    Best regards,
    Rikard

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.