Google insight has flagged the stylesheet CSS @ https://cdn.jotfor.ms/css/styles/nova.css

  • Profile Image
    jarmerson
    Asked on May 21, 2016 at 05:29 PM

    Google speed insights has flagged this stylesheet for lack of compression and suggests it be minified. How can this be accomplished? 

  • Profile Image
    jonathan
    Answered on May 21, 2016 at 11:36 PM

    You can access the stylesheet source code of the form if you will publish the form using the full source code.

    User guide: How-to-get-the-Full-Source-Code-of-your-Form

    Is this what you wanted to do?

    Please let us know how we can be of further assistance.

  • Profile Image
    jarmerson
    Answered on May 22, 2016 at 05:08 PM

    I understand the full source code option, however it is preferred that I use a script as I do for most of our forms. Specifically, how can we have this resource minified - it would either have to be from your end or providing an alternative to import excluding jotform reference.

  • Profile Image
    jonathan
    Answered on May 22, 2016 at 06:39 PM

    You can also import CSS from an external URL into the form using the Form Designer

    If I understand correctly, you wanted a minified version of the CSS resource  https://cdn.jotfor.ms/css/styles/nova.css ?

    Then, you can create a minified version from it and then import it to the from from an external CSS.

    As for referencing another resource CSS, I don't think it is possible if you will not use the form source code. 

    Hope this is clearer. Let us know if you need further assistance.

  • Profile Image
    CTec
    Answered on November 11, 2016 at 07:11 AM

    Hi Jonathan

    I know this is a bit of a late question in the thread, but do you mean copy the CSS in the Form Designer, minify it, and then paste it back?

    Is it possible to do something similar with the HTML?

  • Profile Image
    Welvin
    Answered on November 11, 2016 at 08:32 AM

    @CTec: I have moved your question into a separate thread. Here's the link: https://www.jotform.com/answers/988135. I'll address it there shortly.