Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How to change now the width of an input field. With older version, it was inside user interface.
But now, Ii suppose, we have to do that with css, is that it?
if I have a small input numeric, I just want the field to appear small.
If the name of my field is produit-no-1 and the name of the class is cl_aaa (settled for this field in webform user interface)
what to do to have a a width of 10 px? example, I have a field I want to get 10 length
here is the actual source code
qté
Can someone help? I'm lost.
Comments
Comment #1
DanChadwick CreditAttribution: DanChadwick commentedYes, you would change it with CSS. You need to edit the CSS in your theme or in some other manner add CSS to your site (there are many ways). The scope of styling CSS is beyond the webform issue queue. Try the forums or IRC for help, or if you're in a hurry, hire a site builder or themer.
Comment #2
sahuni CreditAttribution: sahuni commentedThanks for confirming
it seems that simply to write that in CSS do it
.mywrapname {
width: 10%;
}