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.
Ohm and subthemes (from Omega and Ohm) not display Superfish secondary submenu item
Omega works correct
Comment | File | Size | Author |
---|---|---|---|
#6 | superfish_bug_1.png | 6.67 KB | sondes |
Comments
Comment #1
fubhy CreditAttribution: fubhy commentedCan you be more specific and add some detail to the bug report please? E.g. screenshots, probably some debugging information using your favorite browser debugger (e.g. Firebug or Chrome Developer Tools) and possibly even track down the issue (probably CSS related).
Comment #2
cka3o4h1k CreditAttribution: cka3o4h1k commentedNot know English, but try.
I have 3 level menu and use Superfish for dropdown and access to submenu to all levels
When Omega default theme, third (or any) level will open normal, but with Omega subthemes (maked from Drush) and Ohm i have opened only one level of submenus, more deep submenu items not accessible (i think problem in CSS)
Comment #3
cka3o4h1k CreditAttribution: cka3o4h1k commentedComment #4
lbronson25 CreditAttribution: lbronson25 commentedWhen commenting out the following from the subtheme.normalize.css it fixes the issue.
Comment #5
sondes CreditAttribution: sondes commentedI'm running into the same trouble using a drush generated subtheme. I can also confirm that the same problem exists with Ohm but not in Bartik. It doesn't seem to have anything to do with css. However, I can't locate the css file referenced above so I can't test the fix mentioned.
Here's the html for the output menu. Every menu item has children but only the second listed shows up that way. The distinction is that the second item is a Views generated page. The others are nodes.
Here's that same menu printed using Ohm's default main nav menu:
You can see that here each menu item correctly indicates that it has children.
I'd appreciate any support to sort this out. Thanks!
Comment #6
sondes CreditAttribution: sondes commentedTo follow up: turned out to maybe be a bug with Omega but it could also not be. I'll let someone from the project decide that.
It turns out that the Superfish menu works correctly when it is the first menu printed. I was testing a Superfish menu block with a Menu Block menu still active directly above it. This arrangement seems to cause parent menu items in the Superfish menu to not appear (unless the menu item is a Views page).
When I rearranged the order of the blocks and put the Superfish enabled menu on top, it worked as expected.
I experimented and put the main menu block beneath the Superfish block to see if child items were indicated. Again, everything worked as expected.
This still seems to be buggy behavior but I don't have a solution for it.
Comment #7
fubhy CreditAttribution: fubhy commentedWe will have to investigate further for this issue... Gotta fix that before the release (which is going to happen on Tuesday next week). Will look into it tomorrow.
Comment #8
flocondetoileHello,
I meet the same issue with an omega 4.x sub theme.
The reason seems to be a jquery bug with the box-sizing property
See this issue for more details : https://drupal.org/node/2095697
Comment #9
fubhy CreditAttribution: fubhy commentedSince this problem seems to be fixed with newer versions of jQuery / Supefish I am closing this issue as a duplicate of the issue in the superfish menu module queue.
You can also fix this by setting your superfish menu to explicitly NOT use box-sizing: border-box as well...
Comment #10
fubhy CreditAttribution: fubhy commentedThanks flocondetoile for digging this up ;)
Comment #11
flocondetoileThanks to you too ;)
Comment #12
minneapolisdan CreditAttribution: minneapolisdan commentedI found that the issue was resolved in a different way. Using newer versions of jQuery and Superfish did not help in this case, and changing box-sizing had no effect (I don't want to change box-sizing anyway)
I followed this post here, http://stackoverflow.com/questions/14215428/jquery-superfish-adding-over...
I had to do this to get it to work:
Note that when I switched from using my Omega4 theme to Bartik, the problem also went away, so there was/is some connection here to Omega4.
Comment #13
Nicolas Bouteille CreditAttribution: Nicolas Bouteille commentedThis also is working for me with Bartik but only not with [Omega 4 + webkit]. Disabling slide-in effect makes it work again but less nicer :( definitely looks like something needs to be fixed in omega 4
Comment #14
GiorgosKyes disabling slide in effects has resolved the problem
none of the above solutions helped
Comment #15
thachakrit CreditAttribution: thachakrit commented#12 is work for me. But I use Trizzy theme and not Omega. Thanks minneapolisdan
Comment #16
alar CreditAttribution: alar commented#12 worked for me as well. This issue was only occurring on Chrome with a custom theme based on WetKit Bootstrap.
Comment #17
Paul_T CreditAttribution: Paul_T commented#12 worked for me too. In case others are searching, after upgrading a bootstrap-based theme, the flyout children were being dropped down 1em through a margin-top rule. I implemented a fix by overriding the rule for second-level list items only: