Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

CSS script for Other specify text box width (in pixels)

I was trying to hunt down the CSS script for the Other specify text box width (in pixels).

I was wanting to set this globally across the survey and looked in the ssi_style9_3_1.css file thinking it would be in there. I also reviewed the style sheet CSS file I was using an no luck there either?

Appreciate your help.
asked Aug 8, 2017 by Paul Moon Platinum (98,670 points)

1 Answer

+1 vote
Hi Paul,

Can you try this:

.open_end_text_box {
    width: 500px;

Change 500px with your preferred width.

answered Aug 8, 2017 by Saurabh Aggarwal Gold (34,795 points)
Perfect! Thanks mate. Works a treat.
I believe this will also affect any single line open ends.  If that's a concern, adding the question type class to the selector should be able to fix this.

.select .open_end_text_box, .constantsum .open_end_text_box, .ranking .open_end_text_box


.question:not(.openend) .open_end_text_box
Thanks for the additional tip Zachary.

I have just tweaked my CSS.

Much appreciated.