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.

Dropdown Width

Home Forums Older releases 0.9.x Dropdown Width

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1281
    jaymorgan
    Participant

    I am using Smartmenus to build a user interface for a Web mapping application. My effort so far is available at http://pages.towson.edu/morgan/smartmenus/index.htm. I’m hoping someone can help me with a question. That is, how can I set different widths for the “Base Map”, “Overlay Maps”, and “Bookmarks” dropdowns? I have tried to figure this out myself, but I have hit a brick wall. Thanks.

    Jay Morgan

    #1482
    admin
    Keymaster

    Hi Jay! You could either use the following option subMenusMaxWidth: '' (hmm, maybe we should consider this as default instead of subMenusMaxWidth: '20em' which is used now) or if you would like to remove the max-width just for the mega sub menus, you could use the following rule:

    ul.mega-menu {
    	max-width:none !important;
    }

    Cheers!

    PS: After that you custom width settings will take effect.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.