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.
The theme development forum was created to aid those who are developing themes for Drupal. This forum is not for issues you may be having with contrib themes. Issues with contrib themes should be placed in the issue queue of the theme in question. Please respect this.
If you you have drupal installed already and are seeking a theme, have a question about a specific theme and what it does or if it will fit your use case, please place your questions in the Post installation forum.
We are moving our site to Drupal. We are using a font from myfonts.com. I created a folder in Drupal and copied all of the myfonts files there, including the css file. I tried linking to the css file, but it's not working, not loading. I also tried adding the css file to the libraries.yml file, based on an article I read. How should custom fonts be set up in Drupal?
I'm thinking of a page with selectable tabs, made with Bootstrap. I would like to assign to each tab a different display of a view (a different block, then), actually it would be a view with a changing filter value. I cannot see the way to achieve this, except overloading the layout of the theme with zones I would use only in specific cases (for specific pages).
We want to add our site stylesheets to ckeditor, but keep the admin theme styling intact and only style the elements inside the actual wysiwyg (ck-content).
In ckeditor4, we could just point to our site's front end stylesheet, which would then style all the elements inside the wysiwyg to appear like they would on the front end.
In ckeditor5, when I do this, the actual admin theme is getting restyled/overridden by our front-end style sheet. Form elements in particular are restyled according to our front end. This is not desirable.