Horrid title, sorry. Not sure how else to describe it in a short space.
When I have Superfish enabled as a vertical menu on the Omega-7.x-2.0-alpha1 theme, it does not push the blocks below it down, the next one down shows up below the Superfish blocks title, and to the right of the actual menu.
Like:
Superfish Title
Menu item | Next Block Title
Menu item | Next block content
etc...
What I want is:
Superfish Title
Menu Item
Menu Item
Next Block Title
Next block content.
Utilizing Chromes code modifying feature, I was able to fix it by changing this:
To this:
I just added the clearfix class.
Now I just need to figure out where to add that class in the Superfish module. I'm posting here so that this fix will hopefully be put into official code and I don't have to fix it every upgrade.
I am unsure how that would effect horizontal menus, though...
Comments
Comment #1
jerrac commentedRight, forgot the code tags... *sigh*
This:
To this:
And, having looked at Superfish's code, I assume I need to modify something in superfish_contents() or superfish_theme() but I'm not sure what right now. *will research it later*
Comment #2
mehrpadin commentedHey Dave,
You can add that class to your
ULvia Blocks > your SF block > configuration > Advanced CSS settings > Extra class(es) ; however, since I'm not much fond of clearfix I'd rather add afloat:left;clear:both;to all my sidebar blocks.Comment #3
jerrac commentedI actually tried that, and it didn't seem to work. I'll check again tomorrow when I'm at work.
Where would I add the float:left clear:both stuff?
Comment #4
jerrac commentedI just confirmed adding the extra class in the block settings form does not actually add the class to the block.
Comment #5
mehrpadin commentedHey Dave,
I'll check it soon; as for the
float:leftit should be something like this depending on your sidebar ID:Comment #6
jerrac commentedk, added
to superfish.css and it seems to be fixed.
Comment #7
mehrpadin commentedGreat, better be added to your theme CSS though.
Comment #8
jerrac commentedTrue, just testing things right now. So I was just putting it whereever... :D *goes off to change it* Heh.
Comment #9
bradjones1Subscribe
Comment #10
mehrpadin commentedComment #11
Scatterspell commentedI have the same issue. The Superfish menu drops out of its own block and down into the block below it, causing issues anywhere the menu hits text below it.
I tried all the CSS mentioned here and none of it works.