- Issue created by @Giuseppe87
- Status changed to Postponed: needs info
8 months ago 11:41am 9 May 2024 - 🇨🇭Switzerland saschaeggi Zurich
Is this reported problem already covered with https://www.drupal.org/project/toolbar_menu/issues/3271757 🐛 css class name conflict with gin theme Needs review ?
Or maybe you can override the template for your custom menu?
- 🇮🇹Italy Giuseppe87
- No, I am already using that patch. That issue is purely css, the html is correctly rendered, however the class conflicts therefore the dropdown isn't show without the patch
- The issue I've created is instead about markup, the code I've pointed out is actually added in the markup of the menu if gin_toolbar is enabled.
I couldn't identify the a point in the code, but I suspect that either a preprocess or a pre_render callback actually insert that extra div with the logo - Is possible override the template? I am using obliviously Gin, therefore I can't create a sub-theme where use my override twig files, which is the way I know to override other themes' templates. Is there another way to override them? For now I've hidden the extra div via css but it's a weak solution as there is no selector to identify it:
.toolbar-menu-container { ul { li:first-child { display: none; } } }
- Status changed to Active
8 months ago 6:55am 10 May 2024 - Status changed to Closed: duplicate
7 months ago 8:10am 15 May 2024 - 🇨🇭Switzerland saschaeggi Zurich
I think this is a duplicate of https://www.drupal.org/project/gin/issues/3376559 🐛 Home link added when using Toolbar Menu RTBC so I'm closing this in favor of the one we have in Gin.
Can you check if that MR fixes your issue and add a comment on that issue? Thank you!
- 🇮🇹Italy Giuseppe87
The MR of that issue is exactly the same problem I reported, and the MR seems to work fine.
Thanks and sorry for the duplicate; I searched on the issue queue on both this module and the theme, I have no idea how could miss that issue!