Hello. For some reason the menu drop down is formatting incorrectly or at least not as expected. Can anyone give me some advice on how to change this? (see image)

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joystutts’s picture

FileSize
792.56 KB

I also am having this issue. It looks like the widths are being controlled by the CSS in primary-links.css: one-col, two-col, three-col, etc. which would make sense if I had multi-column drop down menus, but I do not. I'm not sure where or how this is set or specified - I have 4 primary nav with mega dropdowns, and each is a different width.

425Media’s picture

Can someone on the Marinelli Team provide some feedback? It would be greatly appreciated.

Ricowhaz’s picture

I have the same issue and find it strange that only one out of the four drop down menus I have is the wrong size.

For some reason after adding some links to the menu it decides to open as a four column menu instead of the single column it should be. I can't find any simple way of changing this or a reason why it would happen to one menu and not the others.

Ricowhaz’s picture

I managed to get it working for now by using the information here: http://drupal.org/node/1268794
I'd rather have a proper fix but using the first poster's method I have it working the way I want with drop menus of a suitable width.

Piccolo-1’s picture

Hello everybody,

I have a simple solution for this issue. Add two lines in .mega section in file themes/marinelli/css/primary-links.css.

white-space:nowrap !important;
width:auto !important;

This will reduce the width of the mega drop down menu. :)

425Media’s picture

Thanks I will try that.

jjmoreno23’s picture

thanks guys! I have added the two lines and wala! every thing is better!

manoloka’s picture

Must say that #6 fix it for me too

Thanks

hani079’s picture

FileSize
16.61 KB

Hi,
#6 didn't work for me, please help.
thank you

manoloka’s picture

hani079 did you put it in the subthemme ccs file or the theme?

brotatotes’s picture

Issue summary: View changes

Three years later... this still worked for me!

Rajvi.addweb’s picture

Status: Active » Needs review
FileSize
539 bytes

PFA patch for your purpose.

oadaeh’s picture

Version: 7.x-3.0-beta9 » 7.x-4.x-dev

I will not be committing this to the 7.x-3.x branch, once I have it stable, as there were some violations with Drupal hosting policy in that branch.
However, I will commit it to the 7.x-4.x branch, once I have all the new changes in place, due to addressing the violations.

BhumikaVarshney’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
3.72 KB

Please apply this patch.

oadaeh’s picture

Status: Reviewed & tested by the community » Needs review

@BhumikaVarshney you should not mark your own patches as Reviewed & tested by the community, and you should provide some information about your patch, describing how it is different from the previous patch & why it should be applied over the other one, especially as there are quite a lot more changes for the same problem.

gaurav.kapoor’s picture

Status: Needs review » Needs work

#15 doesn't solve the problem and has coding standard issues and unwanted changes.

djsagar’s picture

Status: Needs work » Needs review

Hi all,

I create patch for this issue hope, This will resolved menu drop down is formatting issue.

Thanks!

djsagar’s picture

FileSize
811 bytes

Hi all,

I create patch for this issue hope, This will resolved menu drop down is formatting issue.

Thanks!