bootstrap.min.css
und bootstrap.min.js
heunterladen, z.B. aus :
https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css
https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap-theme.min.css
https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/js/bootstrap.min.js
Drupal Custom Theme Library anpassen:
global-styling:
css:
theme:
css/bootstrap.min.css: {}
css/my-custom-style.css: {}
js:
js/bootstrap.min.js: {}
js/my-custom.js: {}
Natürlich müssen die beiden Dateien vorhanden sein:
- themes/custom/my_custom_theme123/css/bootstrap.min.css
- themes/custom/my_custom_theme123/js/bootstrap.min.js
Neuen Kommentar schreiben