- 
		AuthorPosts
 - 
		
			
				
November 26, 2024 at 2:33 pm #1472268
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?
November 26, 2024 at 4:55 pm #1472284Hey Steve,
Try changing the template name in the child to what you changed the parent them to.
Template: enfoldBest regards,
RikardNovember 29, 2024 at 12:22 pm #1472573I 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
SteveNovember 29, 2024 at 2:12 pm #1472576what 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');November 29, 2024 at 4:37 pm #1472581November 30, 2024 at 5:54 pm #1472626Actually 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
November 30, 2024 at 7:18 pm #1472630Hi,
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 - 
		AuthorPosts
 
- The topic ‘Renaming Theme folder using Child Theme’ is closed to new replies.
 
