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

    Is it possible to resize calendar button for date option?

    Asked by CASNR on June 08, 2015 at 03:57 PM

    We would like the button to be larger and more visible.

    Page URL:
    http://www.jotformpro.com/CASNR/prf

    calendar customization icon
  • Profile Image

    Answered by Syed on June 08, 2015 at 05:17 PM

    Hi there;

           Yes, you can resize form Calendar Button by doing some CSS Tricks, I cloned your form for this particular thread, and made some tests to show custom icon for our Calendar Button. The following image is too small, if we increase the size, the image could be stretched. I used custom image for our Calendar;

    Old Image (Dimensions - 16 x 16):

    New Image (Dimensions - 32 x 32):

    #cid_5 span:nth-child(4), #cid_6 span:nth-child(4) {vertical-align: top;height: 32px;width: 32px;margin-left: -20px;position: relative;left: 10px;top: -2px;background: url("https://cms.jotform.com/uploads/image_upload/image_upload/Syed/33539_calendar_new.png") no-repeat transparent scroll 0% 0%;overflow: hidden;}

    #cid_5 span:nth-child(4) img, #cid_6 span:nth-child(4) img {padding: 0px 0px 15px 34px;}

    Inject above CSS Code Block to make the changes, read this guide on How you can Inject Custom CSS Codes.

    Review the following screenshot for confirmation.

    I hope this helps. Please get back to us if you need further assistance, we would be happy to help you.

     

    Thankyou,