First I would like to thank you for this cool theme.

I want to increase the width of primary drop down menu. I have attached image to make it clear.

When I use a large text for primary sub-menu, it breaks into few lines. I want to make width to auto. How do I do this.

Thanks in advance.

CommentFileSizeAuthor
1.jpg31.87 KBravis
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ravis’s picture

Hi,
any solution

Regards:

ollar’s picture

Width in primary drop down menu (.main-menu ul.menu ul.menu) is static. It was made to avoid a bug in ie6. To change it you need to change these selector's attributes:
-line 1287: .main-menu ul.menu li ul.menu {width: (????);} /* width(ul ul li a + paddings) + paddings(ul ul li) + ~5px*/

-line 1329: .main-menu ul.menu li ul.menu li a,
.main-menu ul.menu li ul.menu li a:link,
.main-menu ul.menu li ul.menu li a:visited{width: ???};

-line 1266: .main-menu ul.menu ul.menu li.expanded a span,
.main-menu ul.menu ul.menu li.collapsed a span {padding-right:23px+???;}

also you'll need to enlarge the main-menu-bg.gif...
ps my line numbers and yours could differ)

You're welcome)

ravis’s picture

Thanks a lot, will try it.

Regards:
Ravi

ae860300’s picture

>w< help

This drop-down menu how to write code

restyler’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.