Is there a way to set the width of the dropdown menu.
My goal is to have a couple dropdown menus that are uniform in size.
I also want to limit the width so it fits in a certain area.

I would appreciate any help.
Thanks

Comments

VisidiomCreative’s picture

Assigned: Unassigned » VisidiomCreative
VisidiomCreative’s picture

Status: Active » Closed (fixed)

I figured this out after digging around in the code for a long time.
You can set the width by applying a width to the "form-select" class on your stylesheet.
In the future it may be a good feature to have some kind of controls over how the dropdown appears.

broon’s picture

Since the select tag created by Jump has an id (like edit-jump-goto), you may just alter your themes css:

#edit-jump-goto { width: 100%; }

That way it fits whereever it is displayed. Upon click the shown dropdown is a broad as the longest entry, though (which is ok for me).

Best,
Paul