My injected CSS code doesn't seem to be working

  • arielyem
    Asked on May 19, 2017 at 5:10 PM

    I'm trying to change the label size by injection this:

    #label_401 {

        width : 220px;

    In the advanced designer it seems that it works, but it doesn't make any change in the visual form.

    Please halp

    Jotform Thread 1149634 Screenshot
  • AIDAN
    Replied on May 19, 2017 at 6:06 PM

    Upon inspection I found that your changes got overridden, which explains why it seemed like it didn't work.

    Please add !important to your style, so it becomes:  width : 220px !important;

    I hope this helps. If you need further assistance please let us know. Thank you.