Resize width of GPS Location widget

  • Profile Image
    XSquire
    Asked on April 20, 2016 at 01:48 AM

    Hi. Is there any way to resize the GPS Location Widget with CSS? I have a form 300px wide and even when I set the width in 'edit properties'  to 300 the map extends out past that. another 25px or so.

  • Profile Image
    EltonCris
    Answered on April 20, 2016 at 03:56 AM

    Inject this CSS codes to your form, this should make the GPS Location Widget fit in your form width.

    iframe[src*="gps"] {

        width: 100% !important;

    }

    Guide: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes (paste it at the bottom part if you have existing CSS codes in your form)

    Result:

  • Profile Image
    XSquire
    Answered on April 20, 2016 at 06:38 AM

    Yeah it did! Legend. Cheers man!

  • Profile Image
    jonathan
    Answered on April 20, 2016 at 07:46 AM

    On behalf of EltonCris you are quite welcome :-)

    Cheers