¿Se puede mantener un campo siempre visible en la pantalla?

  • VibraNativa
    Fecha de consulta 18 de noviembre de 2022, 8:53

    Buenos días,

    Quisiera que los usuarios puedan ver constantemente el valor total que se va sumando en el precio del inventario, como si fuese "campo flotante" que se vea por ejemplo en la parte superior o inferior de la pantalla independientemente si suben o bajan buscando productos. ¿Es esto posible? Adjunto ejemplo

    Gracias!

    Saludos

    Jotform Thread 4586276 Screenshot
  • Jovanne Jotform Support
    Fecha de respuesta 18 de noviembre de 2022, 9:10

    Hello VibraNativa,

    Thanks for reaching out to Jotform Support. There seem to be several forms under your account. Can you send me the link to the form in question so I can take a look at it for you?

    Once we hear back from you, we'll be able to help you with this.

  • VibraNativa
    Fecha de respuesta 18 de noviembre de 2022, 9:26

    Si, claro! Este es el formulario

    https://www.jotform.com/build/223044970099662

  • Jovanne Jotform Support
    Fecha de respuesta 18 de noviembre de 2022, 10:48

    Hello VibraNativa,

    Thanks for getting back to us. Please try adding the custom CSS code below. This guide will show you how to do that.

    .payment_footer.new_ui {
      margin: 10px 0;
      position: fixed !important;
      z-index: 999 !important;
      width: 35% !important;
      margin-top: 320px !important;
      background: #fff !important;
    }


    Here is a sample output:

    1668786467 6377a923a9a76 6377a923a9a3c Screenshot 10

    Give it a try and let us know if you need any other help.

  • Jovanne Jotform Support
    Fecha de respuesta 18 de noviembre de 2022, 10:48

    Hello VibraNativa,

    Thanks for getting back to us. Please try adding the custom CSS code below. This guide will show you how to do that.

    .payment_footer.new_ui {
      margin: 10px 0;
      position: fixed !important;
      z-index: 999 !important;
      width: 35% !important;
      margin-top: 320px !important;
      background: #fff !important;
    }


    Here is a sample output:

    1668786467 6377a923a9a76 6377a923a9a3c Screenshot 10

    Give it a try and let us know if you need any other help.

  • VibraNativa
    Fecha de respuesta 18 de noviembre de 2022, 12:01

    Muchas gracias por su ayuda, es exactamente eso lo que necesito. Pero no puedo lograrlo, pego el código tal cual usted me lo está enviando, pero desaparece por completo el total.


    1668790823 6377ba2703810 6377ba27037d1 Screenshot 10

    1668790596 6377b9441205f 6377b94412021 Screenshot 21


    https://www.jotform.com/build/223044970099662

  • Jovanne Jotform Support
    Fecha de respuesta 18 de noviembre de 2022, 14:17

    Hello VibraNativa,

    Please allow me some time to check on this. I will get back to you as soon as I have more information.

    We appreciate your patience while we work on a solution.

  • Jovanne Jotform Support
    Fecha de respuesta 18 de noviembre de 2022, 19:29

    Hello VibraNativa,

    Please try replacing the previous code with this one:

    .payment_footer.new_ui {
      position: fixed !important;
      width: 30% !important;
      z-index: 999;
      margin-top: -180px !important;
      background: #fff !important;
      padding-top: 0px !important;
    }

    li#id_42 {
      margin-bottom: 50px !important;
    }

    Give it a try and let us know if you have any other questions.

  • VibraNativa
    Fecha de respuesta 19 de noviembre de 2022, 9:18

    Muchísimas gracias!! Ahora sí se ve en la opción de pantalla de PC, pero desaparece en la vista desde el celular.


    PC


    1668867457 6378e581659ce 6378e5816598f Screenshot 10

    CELULAR

    1668867494 6378e5a66042a 6378e5a6603e6 Screenshot 21

  • Mianala Jotform Support
    Fecha de respuesta 20 de noviembre de 2022, 10:58

    Hi VibraNativa,

    Thanks for getting back to us. Let me have some time to look into this and I will get back to you as soon as I can.

    Thank you

  • Mianala Jotform Support
    Fecha de respuesta 20 de noviembre de 2022, 13:29

    Please add the following code to the form:

    @media screen and (max-width: 375px), screen and (max-width: 480px), screen and (max-device-width: 768px) and (orientation: portrait), screen and (max-device-width: 415px) and (orientation: landscape){
    .payment_footer.new_ui, .total_area, .form-payment-total #total-text {
      padding-left: 350px !important;
      margin-bottom: -10px !important;
    }
    }


    1668968903 637a71c76c017 637a71c76bfd9 Screenshot 10

    Let us know if you need further assistance.