Problem/Motivation
4.dev works fine
5.dev doesn't
Steps to reproduce
Create a Glisseo Subtheme, install together with Glisseo on a clean D9 site.
Set Bartik to default theme. Cheeseburger Menu 5 dev works.
Set the Glisseo Subtheme to default. Cheeseburger Menu doesn't work.
Uninstall Cheeseburger 5.dev and install 4.dev. Configure the block. It works.
Glisseo is a modern theme that uses CSS variables and CSS grids, ITCSS architecture for style structure and BEM methodology for template class naming. I use it all the time.
Is the problem is related to the theme or to Cheeseburger Menu? Since version 4 works with Glisseo my question is what is different other than the UX?
I attach a short demo film.
If you would want to have a look I'll be happy to upload a zipped test site.
Thanks
| Comment | File | Size | Author |
|---|---|---|---|
| cheeseburger_glisseo.mp4 | 1.78 MB | hs@henrikstrindberg.se |
Comments
Comment #2
hs@henrikstrindberg.se commentedCould it be a problem with the module Twig Tweak? This is a dependency for Glisseo.
Thanks
Comment #3
holo96 commentedIt seems it has something to do with css variables, I'll investigate further why exactly this happens
Comment #5
holo96 commentedGlisseo theme is not defining block ids as other drupal themes.. But I've added exception for glisseo
Comment #6
holo96 commentedAlso need to add trigger class
Comment #7
hs@henrikstrindberg.se commentedTrying Stark 9.1.5 as the default theme and it's the same problem.
(And yes, I just tested the last dev version and it still doesn't work.)
Thanks for looking into this!
Comment #9
holo96 commentedWorks for me now... Had to update which block should be triggered on glisseo
Comment #10
holo96 commentedhstrindb
Can you verify this task? I am preparing beta3
Comment #11
hs@henrikstrindberg.se commentedHi!
- Cheeseburger Menu now works with Stable
- It's fine with Glisseo base theme
- Still doesn't work woth a Glisseo sub theme.
I have create an issue for Glisseo asking about this.
Comment #12
hs@henrikstrindberg.se commentedNiklan also explained the same problem that you mention in #5 and he also gave a
block--cheeseburger-menu.html.twigfile to make Cheeseburger Menu work with Glisseo sub themes.https://www.drupal.org/project/glisseo/issues/3207754#comment-14054380
I’m very pleased to be able to use Cheeseburger Menu together with the Glisseo theme!
Comment #13
hs@henrikstrindberg.se commentedComment #14
holo96 commented