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.
Usually I would create a twig block and use twig module to import the blocks all into one then add css to make it display flex.
As I am self taught, I would like to know if there is a better way to achieve this layout without the need of creating custom twig files.
I am trying to find ways to use minimal custom twig files.
I hope this message finds you well. I am currently facing a challenging issue in my Drupal theme development process and am in desperate need of your expertise and guidance.
I am working on customizing a Drupal theme for a client project, and I have hit a roadblock that I can't seem to overcome. The problem I am facing revolves around the responsive design of my theme. Despite my best efforts, I am unable to make certain elements adapt properly across different devices and screen sizes.
While trying to remove unneccessary <div>s from twig templates I stumbled upon a problem with image alignment of inline media items.
Steps to reproduce:
* Drupal 10, starterkit theme with stable9 as parent theme
* create content with CKEditor5
* insert image via media toolbar button (from core media module)
* align media/image centered
* save page