Active
Project:
OM Maximenu
Version:
6.x-2.21
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2012 at 16:00 UTC
Updated:
5 Jun 2012 at 04:52 UTC
I basically want to create something like the example at http://drupal.org/node/1311236. For the life of me I can't seem to find a way to horizontally place the blocks that I have attached to a menu link - they all stack one after another. Have I missed an option or will I have to create the full horizontal menu first as one block (views + css I imagine)?
I think this guy at the documentation page is asking the same thing but there's no answer http://drupalph.org/story/ommaximenu-documentation-and-howto#comment-42.
Comments
Comment #1
danielhonrade commentedYes, this is easily done via css, something like
#om-maximenu-menu-name .om-maximenu-content { width: 600px; }
#om-maximenu-menu-name .om-maximenu-content .block { float: left; width: 200px; }
Comment #2
-Mania- commentedThanks for the quick response and solution. I just assumed since this module seems to have everything but the kitchen sink in it surely a basic function like this is in there somewhere. :)
Comment #3
danielhonrade commentedDue to the number of ways you can layout the attached blocks, if I do an automatic width detection and horizontal layout, although possible as an option, I find it as an obstacle in styling a highly customized menu.
But I am also considering this in future versions.
Comment #4
-Mania- commentedFair enough. However I think what this module needs is getting the basics in order; An easy way to accomplish what is in the demos/examples as that's likely what most are trying to achieve. Instead we have options like 'Jiggly Links' and the like which I'm sure most people can live without.
One more thing regarding the example http://www.cgcginc.com. The submenus position right/left depending on the location. Is this accomplished with the module or need to figure out on your own? Since you mentioned the lack of automatic width detection and horizontal layout I'm thinking this is probably not supported.
Btw. sorry I didn't notice you had actually answered this issue in http://drupal.org/node/1368940. I guess I used the wrong keywords.
Comment #5
danielhonrade commentedYes, these are customizations of the user via css.
I guess lots of the features requested are all about css, It didn't occur to me that this module should also work out of the box and look sleek. Probably, I thought before that all these additional css will be useless on the customization of the menu, and also changing the template files I provided in the tpl directory.
I actually have a folder in the module, om_maximenu/skin/, now if you add there your skin, like myskin and adding all your css, this could be read by the admin ui and used as an option together with bubble, simple etc., so you could add all your css there probably for future projects if you don't want to repeat your float and width...
Comment #6
aaronchow commentedwhere is the delete button so that I may delete this post... ?_?
Comment #7
aaronchow commentedHi Daniel,
Thanks for contributing such great work for the entire community. The default choices are pretty amazing, but I'm assigned to create a website similar to CGCG and I am still very new to the html/css/drupal thingy. By any chance do you plan to write a documentation on how you accomplish the CGCG menu effect? I'm looking at the CSS and I'm playing the Views module, but I am so clueless that I don't know how to remotely create something similar. Any kind of response is appreciated.
(Sorry for double-posting as I've posted the same message in another thread)
Aaron
Comment #8
danielhonrade commentedYou can do that via css, using firebug check cgcg, on views cgcg is just using views slideshow with title pagers.
Comment #9
pkchoo commenteddanielhonrade,
This is a great module. We look at some of the incredible examples and want this module to do that for us out of the box (design and function). After playing around with the module and getting some help here, I realize that too much out of the box would limit what this module could do. If only we could have the best of both worlds...
I think it would be really helpful to have users showcase their work and explain how they achieved it. Your views slideshow based menu didn't make sense to me until you explained it was just title pagers and css, then it made sense.
Thanks for a great module!