QR Code Reader: How to change the button text and center align it?

  • Ferraro_Diego
    Asked on December 21, 2021 at 7:48 AM

    Hi!

    I have this QR Scanner button and I need to

    • center horizontally the button in the container
    • center vertically the "Scan QR code" text into the button
    • change that "Scan QR code" text to "Escanear código QR"

    Also, I want to reduce the vertical spaces on this page.

    Thank you!

    1640090857 61c1cce9745a0 Screen Shot 202 Screenshot 10

  • Ashwin JotForm Support
    Replied on December 21, 2021 at 9:02 AM

    I am working on your request, but it is taking time. I will get back to you on this soon.

  • Ashwin JotForm Support
    Replied on December 21, 2021 at 9:29 AM

    The button seems to be already aligned center. Please inject the following custom CSS code in the widget to make the button text align correctly and also change the text of the button:

    div#qrScan {

      color: transparent;

      width: 250px !important;

      padding-left: 0px !important;

     line-height: 2.6 !important;

    }

    div#qrScan:after {

      content: 'Escanear cdigo QR';

      color: #fff;

      position: relative;

      top: 0;

      left: -12%;

      width: 200px !important;

    }

    The following guide should help you how to inject the custom CSS code in widget: https://www.jotform.com/help/428-how-to-inject-css-codes-to-widgets/

    Hope this helps.

    Do get back to us if you have any questions.

  • Ferraro_Diego
    Replied on December 21, 2021 at 11:15 AM

    Thanks!