Change the size of a label in the inventory widget

  • Profile Image
    ncaaca
    Asked on August 12, 2019 at 12:44 PM

    I am trying to reduce the size of a label.  The text is short but the entire label is much longer and thus takes up too much space making the element too big (after shrinking)to put a second element next to it.


    I found this link

    https://www.jotform.com/answers/763764-How-do-I-change-size-of-the-question-labels


    However, in 2019 there appears to be no toolbar in the editor and thus no width control.  Specifically I am trying to reduce the width of the label in the inventory widget.


    thanks


    Brad

  • Profile Image
    Victoria_K
    Answered on August 12, 2019 at 01:11 PM

    Hi Brad, 

    To target specific labels, you might need to use CSS code injects. I see there is already code for widget label in your form, you can adjust it to make label shorter. I would suggest 80px. 

    Here is the line to change:

    Related guide: How-to-Inject-Custom-CSS-Codes