- Issue created by @ikam
- πΊπΈUnited States flashwebcenter Austin TX
Hello,
The background issue has been addressed and merged. Previously, the background variable was applied to all ul and ol elements except when they were rendered within a field or a Views field. In the example under the "Operations" group (see: https://www.drupal.org/files/issues/2025-03-10/TransparentDropdown.png β ), I discovered that the element in question uses the .views-field class, which was excluding it from receiving the background variable.
To ensure consistency across the system, Iβve added the background variable directly to the dropbutton-wrapper.html.twig template. This way, any dropdown rendered by Drupal regardless of where it appears will consistently apply the background color variable.
.page-wrapper .dropbutton-widget { background-color: var(--r-bg); }
The update has been pushed to the dev branch, feel free to use it. If you prefer not to use the dev version, you can apply the code snippet above in your theme settings as a temporary workaround until the next release.
Best wisehs,
Alaa Hi Alaa - thank you so much for your fast response and the fix! I've tried the fix from the dev branch and the menu background is working/displaying correctly. Much appreciate it!