How to alter line-height submenu FW css menu other than main level items

As here Test log in – KKV

I have attached a style to the div ny-menu called #menu2013 with a line-height from 500%. Because the designer wanted the menu items with such a line height.

I want that submenu with line height of let say 200%.
In the FW css menu action I cannot influence the lineheight of the submenu. Is there a way to do this?

Thanks a lot.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

do you mean like this?
http://cssway.thebigerns.com/workbench/du_jour/atelier-menu/

I think you can do better than applying your style to the enclosing div.
Essentially, you want to affect the behavior of the unordered menus - the
primary one and then its children. Replace your current code with these:

.menu2013 { text-align: left; }

#ny-menu ul { line-height: 5; }

#ny-menu ul ul { line-height: 2; }

The first is your original style, which can keep the text-align property if
you like. The second style sets up the primary menu items while the third
style covers the submenus.


Ernie Simpson

On Sun, Dec 16, 2012 at 12:07 PM, atelier email@hidden wrote:

As here http://www.kkv-b.se/index.php/ny/test

I have attached a style to the div ny-menu called #menu2013 with a
line-height from 500%. Because the designer wanted the menu items with such
a line height.

I want that submenu with line height of let say 200%.
In the FW css menu action I cannot influence the lineheight of the
submenu. Is there a way to do this?

Thanks a lot.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

:slight_smile:

I knew I did something wrong threre…

I owe you one, thanks a lot.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Now I can also adress the submenu to lower them, so they line up better with their parents.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You didn’t really do anything wrong, so don’t blame yourself. There are
many ways to do things with css - your first style hits the target broadly,
now you have a way to narrow your focus :slight_smile:


Ernie Simpson

On Sun, Dec 16, 2012 at 2:27 PM, atelier email@hidden wrote:

:slight_smile:

I knew I did something wrong threre…

I owe you one, thanks a lot.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thank you, but it was incorrect in the structural way. It is hard to structure the styles in the CSS so they do not fight each other but work together if you know what I mean. Maybe time to study a bit more…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options