I am a total Drupal beginner. I set up a Drupal Sub Theme, it is activated and working. I took the Bootstrap Theme. Now I was trying to add my custom css.
libraries.yml
global-styling:
css:
theme:
css/style.css: {}
info.yml
core: 8.x
type: theme
base theme: bootstrap
name: 'Recipes'
description: 'Uses the jsDelivr CDN for all CSS and JavaScript. No source files or compiling is necessary and is recommended for simple sites or beginners.'
package: 'Bootstrap'
regions:
navigation: 'Navigation'
navigation_collapsible: 'Navigation (Collapsible)'
header: 'Top Bar'
highlighted: 'Highlighted'
help: 'Help'
content: 'Content'
sidebar_first: 'Primary'
sidebar_second: 'Secondary'
footer: 'Footer'
page_top: 'Page top'
page_bottom: 'Page bottom'
myregion: 'meine neue Region'
libraries:
- 'recipes/global-styling'
I hope you can help me :)
