PDA

View Full Version : Increase input width/size



nigelfaraday67
04-19-2014, 12:00 PM
Hi, could you clarify please how I could increase the width and/or height of the input fields, e.g. the 'Your Question' field here:

https://dl.dropboxusercontent.com/u/90534254/Temp/IncreaseInputDimensions.PNG

Would there be some custom css I should use? Thank you :)

Jean-Christophe Bisoux
04-19-2014, 12:42 PM
Hi,

you can use somethink like that in the custom CSS


input[type=text]{width:xxpx;height:xxpx}

Regards,
JC

nigelfaraday67
04-19-2014, 04:31 PM
Thanks, I'll try this, how would I have the field name appear before the field input, e.g.

Email: [email input field]

Thank you :)

Jean-Christophe Bisoux
04-19-2014, 06:13 PM
Hi,

Directly in WPS it's not posible, because the field is normally for a sidebar with a short's width.

But you can try with the jquery custom, for exemple use this code for each input and replace FNAME with the input's name


jQuery("input[name$='FNAME']").before("Your text");

Regards,
JC