Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By motmot12 on
Hi all,
I have some issues after testing some themes in Drupal8 beta 4. the problem is that the css is not loading, I tried other themes like Omega Five for Drupal 8 but that had no effect, every time the css was not loaded.
can someone help me why the css is not loading correct.
Comments
Check out this post about
Check out this post about different ways to add css & js to your theme: http://www.appnovation.com/blog/how-add-js-and-css-assets-drupal-8-theme. Recently there have been few changes in how these assets are served, particularly the use of "libraries.yml". Some of the new D8 themes might not have been updated yet to reflect that change. Also, you can always check one of the core themes e.g: core/themes/bartik to see where things are coming from. Hope this helps.
Thanks for your help
Thanks for your help
I have changed the files but the css is still not loding
idlehands.info.yml
idlehands.libraries.yml
Also checkout the below link
Also checkout the below link for "Adding stylesheets (CSS) and JavaScript (JS) to a Drupal 8 theme":
https://www.drupal.org/theme-guide/8/assets