Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
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.
This may be a dumb question that seems basic, but I have been unable to find anything online that will answer it. Is a Drupal 9 theme intrinsically compatible with Drupal 10, as is without any upgrading? Is a Drupal 8 theme?
If not, are there simple standard mods that I can do without hiring a theme developer that will make it work?