Is it possible to resize calendar button for date option?

  • Profile Image
    CASNR
    Asked on June 08, 2015 at 03:57 PM

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

  • Profile Image
    Syed
    Answered 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,