Hi.
How can I rename the Main Theme Folder «enfold» that uses a Child theme in the FTP directory? When I change the name of the theme Folder, the Child theme can’t find the main theme anymore, I see a blank page. Do I need to create a new Child Theme?
Any ideas?
Hey Steve,
Try changing the template name in the child to what you changed the parent them to.
Template: enfold
Best regards,
Rikard
I guess this is it, it looks good now ;-)
I changed the Template name in the file «style.css» only. No need to adjust Template name also in functions.php, right?
Thank you
Steve
what about that way (in addition) in the docu via: avf_dynamic_stylesheet_filename
see: https://kriesi.at/documentation/enfold/personalize-theme/
All of the Styling options you set in the theme’s Styling options are saved to a file in your uploads folder called enfold.css. If you have changed the theme name or something like that you may want to rename this file to better reflect your own branding. You can use the following function to do just that:
function avia_change_filename($stylesheet){
return 'custom_name';
}
add_filter('avf_dynamic_stylesheet_filename', 'avia_change_filename');
Actually I need to rename from clients brand name folder back to original template name «enfold». But thanks, good to know. I will keep in mind for the future
;-)
Steve
Hi,
Glad Rikard & Guenni007 could help, thank you Guenni007, It sounds like you have it sorted out now, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike