Project:Jump
Version:6.x-1.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:VisidiomCreative
Status:closed (fixed)

Issue Summary

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

#1

Assigned to:Anonymous» VisidiomCreative

#2

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.

#3

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