custom ccs what file?

Can you please tell me in what file the custom css is saved? We don't want to use the custom box for individual css, but save the individual css in a file. We have already a child theme, but the style.css is not loading.


  • edited May 2019
    Hi, @mimpenug

    Thanks for contacting us!

    Can you please more clear about your query what exactly you want so we can understand easily and assist you better

  • Normally when a child theme exists, the style.css which is located in the child theme will be loaded. But in our case the file is ignored. In the functions.php (which is also located in the child theme) we added
    function enqueue_busiprof_child() {
        wp_enqueue_style('busiprof-css', './busiprof-pro/style.css' );
        wp_enqueue_style('nzk-css', './nzk/style.css');
    The code in /nzk/style.css is being ingored.

    We know in the backend we can put in individual code in the customizer, but because we have a lot of individual code, we don't want to use this function. We preferred to put it in the style.css.
  • Hi,

    Please add this two lines in place of above lines:

    wp_enqueue_style('busiprof-css', get_stylesheet_directory_uri(). '/busiprof-pro/style.css' );
    wp_enqueue_style('nzk-css', get_stylesheet_directory_uri(). '/nzk/style.css');

    I hope it will work for you!


Sign In or Register to comment.