Support » Themes and Templates » Unable to output child-theme 'style.scss' file

  • Resolved Robert Gadon

    (@yogaman5020)


    I’m using a paid child-theme of Genesis (Utility-Pro) running SCSS. All the development dependencies prescribed by the developer are properly installed in my file directory (e.g. Grunt, Bower, and the SASS libraries provided by Bourbon and Neat). My problem is that I cannot output the style.scss file with my site customizations (e.g. custom colors, fonts, and font-sizes). My local development site returns the default ‘style.css’ stylesheet.

    I followed the directions in the Codex to enqueue the stylesheets with a custom function tied to the ‘wp_enqueue_scripts’ hook via an ‘add_action()’. The attached code snippet was added to my child-theme functions.php file. . Didn’t work.

    Figured I’d try the support forum as well as submit a support ticket to the developer and see who might help me resolve the problem first.

Viewing 1 replies (of 1 total)
  • Thread Starter Robert Gadon

    (@yogaman5020)

    Upon further digging (and reviewing a newly posted documentation video posted by the theme author), the problem appears to be caused by the Grunt taskrunner packaged with the theme not executing in my local development site’s root directory. Grunt is supposed to launch a ‘sass –watch’ command to watch for changes in the SCSS partial files, which precompile inside the ‘style.scss’ file, and then output as compiled CSS to the child-theme’s ‘styles.css’ file. So the code snippet posted above is not necessary to attain compiled SCSS. The solution is to get the Grunt taskrunner working.

Viewing 1 replies (of 1 total)
  • The topic ‘Unable to output child-theme 'style.scss' file’ is closed to new replies.