What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How can I change the color scheme of the light box embedded code only for the button?

    Asked by nirvanaproperty on February 01, 2017 at 09:15 PM

    The form itself has the correct color, however when I use the embedded code provided for the lightbox it automatically makes it dark with blue font.  I would like orange font in my light box button.

     

    Please help

    Page URL:
    http://www.nirvanaproperty.com/finance/

  • Profile Image
    JotForm Support

    Answered by Charlie on February 02, 2017 at 01:17 AM

    Hi,

    The style of the button for the lightbox seems to have been affected by the styling of your actual website. 

    Do you want it to be like this:

     

    If you want it like that, you can add the style attribute inline of your <a> element. Here's what I meant:

    When you copy and pasted the lightbox embed code, you have this on your code:

    <a class="btn lightbox-70316431151140" style="margin-top: 16px"> Prequalify </a>

    That's the button of your lightbox. 

    Simply add the color property in the style attribute. If you want to have a color orange font, you can change that to this:

    <a class="btn lightbox-70316431151140" style="margin-top: 16px; color: orange !important;"> Prequalify </a>

     

    Let us know if that helps.