mmenu - Add a fixed logo to top of jquery menu? -


does know if it's possible add logo/image top of jquery mmenu stays fixed while submenus accessed?

i've tried using headers add-on, have had 0 luck getting work text.

any great.

thanks.

since mmenu kinda looks @ tags , clones it, found it's best prepend after pageload. instance, code looks this. (you ignore of options, , replace own.)

         $(document).ready(function() {              $("#menu").mmenu({                 "classes": "mm-slide mm-light",                 "header": true,  			   "": true,                 "searchfield": {                    "placeholder": "search",                    "add": true,                    "search": true                 }           });                  var varname = "<div id='forstyling'><img src='images/globe.png' alt='' /><a href='/'>company home</a></div>";     $('nav#menu').prepend(varname);     });
problem is, absolutely position elements within mmenu. had add custom css drop down. in example logo 40px tall think (including padding)
		.mm-menu > .mm-search {top:40px;}  		.mm-menu.mm-hassearch .mm-header {top:90px;}  		.mm-menu.mm-hasheader.mm-hassearch > .mm-panel.mm-list {padding-top:140px;}


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -