Hello,
I will ask if i can delete the “dynamic_avia/enfold_child.css” file? or if the theme need that file?
Or how I can change the name of the file?
Hi Helgi!
You can use this function to do that:
add_filter('avia_dyn_stylesheet_file_path', 'avia_change_filename');
function avia_change_filename($stylesheet){
return 'myfilename.css';
}
Best regards,
Devin
In witch file shall I add that?
I use child theme
You would add it to your functions.php. This is the default location for any additional php that you would add to a WordPress theme or WordPress child theme.
Oki because I have added the:
add_filter(‘avia_dyn_stylesheet_file_path’, ‘avia_change_filename’);
function avia_change_filename($stylesheet){
return ‘myfilename.css’;
}
in the child-theme function.php
But in the source it still say’s :
<link rel=’stylesheet’ id=’avia-dynamic-css’ href=’……/dynamic_avia/enfold_child.css?ver=1′ type=’text/css’ media=’screen’ />
Hi!
Are you using the latest version of Enfold?
Best regards,
Josue
Also make sure you’ve re-saved your options and regenerated the style sheet. Just make a small change to your styling options and then save.