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:

Comments

jerrac’s picture

Right, forgot the code tags... *sigh*

This:

<div id="block-superfish-1" class="block block-superfish contextual-links-region">

To this:

<div id="block-superfish-1" class="clearfix block block-superfish contextual-links-region">

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*

mehrpadin’s picture

Hey Dave,

You can add that class to your UL via Blocks > your SF block > configuration > Advanced CSS settings > Extra class(es) ; however, since I'm not much fond of clearfix I'd rather add a float:left;clear:both; to all my sidebar blocks.

jerrac’s picture

Blocks > your SF block > configuration > Advanced CSS settings > Extra class(es) ;

I 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?

jerrac’s picture

I just confirmed adding the extra class in the block settings form does not actually add the class to the block.

mehrpadin’s picture

Hey Dave,

I'll check it soon; as for the float:left it should be something like this depending on your sidebar ID:

#sidebar .block {
	clear: both;
	float: left;
}
jerrac’s picture

k, added

#region-sidebar_first .block { float: left; clear:both }

to superfish.css and it seems to be fixed.

mehrpadin’s picture

Great, better be added to your theme CSS though.

jerrac’s picture

True, just testing things right now. So I was just putting it whereever... :D *goes off to change it* Heh.

bradjones1’s picture

Subscribe

mehrpadin’s picture

Status: Active » Closed (works as designed)
Scatterspell’s picture

I 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.