CSS styles not working while included in .info.yml file
-
06-11-2019 - |
Question
For some reason my theme can't find css/style.css in Drupal 8.
This is the .info.yml:
name: Adminimal
type: theme
description: Drupal Administration Simplified.
# version: VERSION
# core: 8.x
base theme: seven
# Include CSS.
stylesheets:
all:
- css/style.css
# Information added by Drupal.org packaging script on 2014-10-23
version: '8.x-1.x-dev'
core: '8.x'
project: 'adminimal_theme'
datestamp: 1414059738
This is how the folders look like:
Theme/adminimal.info.yml
Theme/css/style.css
The css in the style.css file:
html{
background-color: blue !important;
}
It doesn't even show up in the styles section in my Google Chrome console so I think it doesn't find the file but why?
And about jQuery in Drupal, I can't manage to get this working: https://www.drupal.org/node/1541860 To work with: //ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js How should I do this?
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange