Early Bird Registration for DrupalCon Atlanta is now open! By registering during our Early Bird Registration window, you’ll save $100. This window ends on 19 January 2025 and will go by quickly, so don’t wait!
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.
I’m working on isolating a specific FlexSlider content item in the dxpr_theme.theme file and then displaying it in the Twig file, as shown below, specifically for users with the content_creator role.
Instead this line : $variables['content']['list'] = $view->render(); generates a 500 error
ok so I am working in Drupal 10, converting a D7 site. There is a view that has a field for 'user roles'... On the D7 site, when you add 'user: roles' as a field in the view, it gives you the option to "only display the selected roles", but this does not exist in the D10 version of Views for whatever reason. What I need seems very simple but I cannot figure out how to make this happen with Twig... basically what I am looking to have happen is this:
How can I make the CSS visible in a subtheme? I’ve tried everything, but I haven’t been able to figure it out. Does anyone have tips or could someone help me with this?
I am using olivero as parent theme and trying to create my own custom theme (gva). In my pages, the custom theme CSS, js and static images are not loading, only olivero css, js files are loading. I can not find out where am I doing the mistake. Please help!!!