Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

Reply To: Use of smartmenu with menu

Home Forums Older releases 0.9.x Use of smartmenu with menu Reply To: Use of smartmenu with menu



It’s not a problem if you can’t control completely the outputted structure as long as it is still valid (and yours is just fine). The only slight difference for you from the default setup instructions is that you will need a slightly different init code – e.g. something like this:

$(function() {
	$('#divMenu > ul').attr('id', 'main-menu').addClass('sm sm-blue').smartmenus({
		subMenusSubOffsetX: 1,
		subMenusSubOffsetY: -8

Here is a working demo:

This uses the default “sm-blue” theme but I guess it should be easy for you to change that if you like.