Custom Button

  • Profile Image
    hughdal
    Asked on August 13, 2019 at 09:10 PM

    Hello, can you help me with the code I would need to put into this popup form?

    I want the button to look something like this.

    Thanks!


  • Profile Image
    Augustine_O
    Answered on August 13, 2019 at 09:26 PM

    Hi,

    You can try using the CSS codes below:


    .form-submit-button {

    background: #000000;

    color: white;

    border-style: outset;

    border-color: #000000;

    height: 50px;

    width: 400px;

    font: bold 15px arial, sans-serif;

    text-shadow:none;

    }


    Let us know if that helps.

    Thanks.

  • Profile Image
    hughdal
    Answered on August 13, 2019 at 10:37 PM

    Where do I insert that code?

    Here is what I have now...sorry I have zero coding experience..

     <a


          target="_blank" href="javascript:void(


            window.open(


              'https://form.jotform.com/61136609698971',


              'blank',


              'scrollbars=yes,


              toolbar=no,


              width=700,


              height=500'


            )


          )


        ">


          Click to place an Order


        </a>

  • Profile Image
    Victoria_K
    Answered on August 14, 2019 at 03:54 AM

    I see now that you would like to style button of your webpage, not form's button. 

    I have improved the code, please try using the following one instead of the one you shared:

     <a style="text-decoration: none; padding: 0.5em; text-transform: uppercase; background: #000000; color: white; border-style: outset; border-color: #000000; height: 50px; width: 400px; font: bold 15px arial, sans-serif; text-shadow: none;"

          target="_blank" href="javascript:void(

            window.open(

              'https://form.jotform.com/61136609698971',

              'blank',

              'scrollbars=yes,

              toolbar=no,

              width=700,

              height=500'

            )

          )

        ">

          Click to place an Order

        </a>

    I have highlighted the part added. 

  • Profile Image
    hughdal
    Answered on August 14, 2019 at 11:03 AM

    That makes the button look good, but when clicked it just goes to a blank page??

    Thanks

  • Profile Image
    hughdal
    Answered on August 14, 2019 at 11:24 AM

    The font on the form seems to have changed now also.

  • Profile Image
    Victoria_K
    Answered on August 14, 2019 at 12:32 PM

    This problem seems to be related to your web page, not the form. Maybe you can ask your website developer to check? We can take a look also if you share a link to your web page.