What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to enlarge product images of payment question on mouse hover?

    Asked by venco on February 17, 2015 at 11:04 AM
    What can I do to work, What I am doing wrong???
    on hover enlarge image images product image payment processing
  • Profile Image

    Answered by Ben on February 17, 2015 at 12:11 PM

    I presume that this is the jotform that you want to have the product images a bit larger once the mouse goes over them: http://www.jotformeu.com/form/50464404503345

    As mentioned on the previous thread you can use such code as this:

    .form-product-item img:hover {
      height: auto;
      width: 200px;
    }

    Now with it I would also recommend adding this code:

    .form-product-item.hover-product-item {
        width: 100%;
    }

    Now this will only enlarge the image if you move the mouse right over it, so if you want to get it to 'grow' even if you are on the product itself, you can add something like this:

    .form-product-item.hover-product-item:hover img {
        height: auto;
        width: 200px;
    }

    I do see that you have already added this code:

    .form-product-item img:hover {
        height: 55%;
        width: 55%;
    }

    Which should work for you, but I would always suggest adding such code at the bottom of the style section - the same goes for the one I had suggested.

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

    Do let us know if you have any questions along the way and we would be happy to assist with them :)