Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-12-03 22:34:14

christian-berlin
Member
From: Berlin
Registered: 2016-11-24
Posts: 35
Website

drop down menu, lenght of the entry

Funny thing. I have use a drop down menu entry and set the name in LR. and it looks like, that someone make a word wrap after x characters, but the background is not. The last entry was "Berlin Rebels Youngsters 2016" and on the site it looks like this:

menu_to_long.jpg

This is not a big Problme to change this, but maybe a small bug. Or I have not seen, where I can define the max lenght of the drop down menu entrys.
Test site is http://www.gosslar.homedns.org:8888

Christian

Offline

#2 2016-12-04 00:46:40

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: drop down menu, lenght of the entry

I think that will take some custom css.
This seems to work but may need some tweaking. adjust width to your needs:

nav ul ul {
  width: 300px;
}

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-12-04 00:59:01

christian-berlin
Member
From: Berlin
Registered: 2016-11-24
Posts: 35
Website

Re: drop down menu, lenght of the entry

Oh.. yeah. It works, but what I don't see before, it's also the length of the other Menu entrys. So I must be carfull to create the menu entry.

Thanks again for the support!

Christian

Offline

#4 2016-12-04 01:39:59

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: drop down menu, lenght of the entry

on my test site, longer item names that are not the last item appear to be cut off. But if the item with the long title is the last on the list, then the text wraps beneath. Looks like a bug for Matt to squash.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#5 2016-12-04 01:43:03

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: drop down menu, lenght of the entry

this will hide the wrapping text:

nav ul ul {
	overflow: hidden;
}

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#6 2016-12-04 01:45:29

christian-berlin
Member
From: Berlin
Registered: 2016-11-24
Posts: 35
Website

Re: drop down menu, lenght of the entry

This will hide the second level of the menu on my side.

Offline

#7 2016-12-04 01:49:15

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: drop down menu, lenght of the entry

ah, so it does. probably just needs to be more specific

try this:

nav ul ul a {
	overflow: hidden;
}

Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#8 2016-12-04 02:09:26

christian-berlin
Member
From: Berlin
Registered: 2016-11-24
Posts: 35
Website

Re: drop down menu, lenght of the entry

That's it!

Offline

Board footer

Powered by FluxBB