I know elsewhere you mentioned that this was an intended feature, but there must be a way to move the suckerfish submenu alignment to the left, right? The problem is, I can't figure out how you are attaching the submenu items to the right of the main navigation entries. I think if I could figure that out, I could align them to the left.

I know I'm not the only person who would really enjoy this, so if you could point me in the right direction, it would be really appreciated.

Comments

florian’s picture

Well, probably in the nearest future I will drop this approach, meaning the centered menus will be no more possible, as an option. Take a look at my last theme Smokers, which has the same features as 0 Point but with a "normal" menu.

WildKitten’s picture

This could help. The only thing you need to do is to add it in your page.tpl.php in head tag. Also adjust first margin parameter for your need.

<script type='text/javascript'>
$(document).ready(function(){
	$("#navlinks > ul").addClass('main-ul');
	var integer = 0;
	$("#navlinks ul.main-ul > li.expanded").each(function(){
		var text = $(this).text();
		var this_width = $(this).outerWidth();
		integer = integer + 1;
		$(this).children('ul').addClass('sub-ul-'+integer);
		$('.sub-ul-'+integer).attr('style', 'margin:23px 0 0 -' + this_width + 'px'); 
	});
});
</script>

florian’s picture

Status: Active » Closed (duplicate)

The issue was addressed here http://drupal.org/node/758854 ... status changed to duplicate.