Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #195916

    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?

    #195920

    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

    #195922

    In witch file shall I add that?

    I use child theme

    #195959

    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.

    See: http://codex.wordpress.org/Functions_File_Explained

    #196084

    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’ />

    #196542

    Hi!

    Are you using the latest version of Enfold?

    Best regards,
    Josue

    #196548

    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.

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Change name or don't use dynamic_avia/enfold_child.css file’ is closed to new replies.