How can we remove custom CSS codes from our form?

  • Profile Image
    cloudyireland
    Asked on July 30, 2015 at 04:12 PM

    Hi again

    I've tried to work out how to remove injected css code, but I am having problems.

    Do you think you could do it for me I'm pulling my hair out :)

    Form called "remove form background" 

     

    Thx

     

    Andy

  • Profile Image
    Ben
    Answered on July 30, 2015 at 05:39 PM

    Andy, hair is very important part of us, so please feel free to post here on forum, twitter or over email (support@jotform.com) before that becomes one of the available options ;)

    Now, the easiest way for me to remove it is not through the Form Designer (where I believe you were looking for the code), but from within the forms Custom CSS codes.

    You can see how to find it here: Inject Custom CSS Codes

    To remove the background image or color, you should look for entries like these:

    background
    background-color
    background-image

    What I do is just hit Ctrl+F on my keyboard to get my search started and then type in "background". Once I do this I click on that custom field and press F3 until I find the "leaving" code :)

    In your case this is the one:

    background-image: url("//www.jotform.com/uploads/cloudyireland/form_files/LightGreen.jpg");

    and

    background-image: url("http://www.jotform.com/uploads/cloudyireland/form_files/400Fried-Rice.jpg");

    I have however removed both of them for you.

    Do let us know if you have need any further assistance and we would be happy to assist :)