Resize width of GPS Location widget

  • XSquire
    Asked on April 20, 2016 at 1:48 AM

    Hi. Is there any way to resize the form 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.

  • Elton Support Team Lead
    Replied on April 20, 2016 at 3: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:

    Resize width of GPS Location widget Image 1 Screenshot 20

  • XSquire
    Replied on April 20, 2016 at 6:38 AM

    Yeah it did! Legend. Cheers man!

  • jonathan
    Replied on April 20, 2016 at 7:46 AM

    On behalf of EltonCris you are quite welcome :-)

    Cheers