Autocompleted Address Widget: Increasing width of the Postcode field

  • Profile Image
    lafhab2
    Asked on March 05, 2017 at 04:58 PM
    Thank you, this isn't quite what I was after but it comes very close.  I have tried it in one of my forms and it seems to work well, but I do find one minor issue with this widget - the 'postal code' field is too small for the UK postcode format (8 alphanumeric digits) and there doesn't seem to be any option to alter the size of any of the boxes. Can the box sizes be edited, perhaps using CSS?
  • Profile Image
    Mike
    Answered on March 05, 2017 at 05:05 PM

    If you are referring to the Autocompleted Address widget field, please try the next CSS in order to increase width of the Postcode field.

    #postal_code {
    max-width: 150px;
    }

    Thank you.

  • Profile Image
    lafhab2
    Answered on March 05, 2017 at 07:51 PM

    That worked a treat. I knew it would be CSS but couldn't determine the correct field name. Thanks for your assistance.