Is it possible to change the sub-labels in the Lob Address Verification widget?

  • Profile Image
    BoatyardBee
    Asked on September 19, 2017 at 04:16 PM

    I would like to add "or Mailing" to the Street Address sublabel (address_line1-label) to make the instructions more clear. Is there any way to change the text of the labels in the Lob Address Verification widget?

  • Profile Image
    Kiran
    Answered on September 19, 2017 at 05:20 PM

    Unfortunately, there is no direct way to change the labels of the widget. However, it may be possible to change the label by injecting some custom CSS code to the widget. Please allow me some time to check on this and get back to you with relevant information.

    Thank you for your patience. 

  • Profile Image
    Kiran
    Answered on September 19, 2017 at 05:29 PM

    Please inject the following CSS code to the Custom CSS section of the widget wizard. 

    #address_line1-label {

      position: relative;

    }

    #address_line1-label:after {

      content: "or Mailing";

      position: absolute;

      top: 0;

      left: 0;

      right: 0;

      bottom: 0;

      background: white;

    }

    The Lob address verification field should be displayed as below after injecting the code above.

    Hope this information helps! 

  • Profile Image
    BoatyardBee
    Answered on September 19, 2017 at 06:25 PM

    Aha, "after", the one thing I didn't try. Thank you, Kiran, for your quick and thorough response!