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.
I argue that making headers and footers theme-agnostic (removing them from themes altogether), especially now when we have the Layout Builder with which we can layout them independently of a theme, would make Drupal theming extremely simpler and the amount of themes for Drupal will grow dramatically.
Hi. I found a flaw in the /core/modules/media/css/oembed.frame.css for embedding Youtube videos. That seems to be fixed For Drupal 8, but not Drupal 10. I also have reported this bug as Drupal core issues.
My question is how to customize css in my-custom-theme folder for the css of the core modules, so that it is secure even when core is updated with that flaw.
Thanks.
[Added] I managed to fix the problem without touching oembed.frame.css. I modified mytheme/css/components/embedded-media.css instead.
I am looking for options for database rollbacks as part of any module update, feature updates/rollback etc. So far I see only option is to to take a sql file level backup and restore to the backup file, but wondering if are are any modules or options to handle database reverts. Ideally wondering to integrate this part of the ci/cd deployment process (perform change, if change fails, revert, rollback etc). Please suggest.
I am struggling with assigning CSS classes to page elements, as there seems to be some bug in my theme or with the drupal installation in generel.
What’s happening?
I have a custom theme based on adaptive theme. Whenever I try to assign a CSS class to let’s say a block, I do this in the theme’s settings -> extensions -> shortcodes -> Shortcode CSS Classes. I write a class to the respective block, try to save the theme settings, then get a whitescreen and when I check, the changes were not saved.
It could be a shell builtin command or a shell utility command or a Composer command or a Drush command or some combination of commands.
I just want to know what is the current latest stable version of Drupal out there so for example if today this version is 10.2.2 then the output of the CLI command will be something like: