How do I change the color of the field box rule

  • Profile Image
    Jerole
    Asked on April 06, 2011 at 06:50 PM
  • Profile Image
    NeilVicente
    Answered on April 06, 2011 at 07:52 PM

    Hi,

    I'm not sure what you mean with field box rule. If you're referring to the input box - the box where you type in information - then here is how you do it:

    1.  Go to Setup & Embed > Preferences > Form Styles > Inject Custom CSS

    2.  Copy this code:

    input {
    background-color: red;
    }

    3.  Replace red with any color you like. You can refer to these pages for more color codes - HTML Color Codes HTML Color Names

    4.  Save your forms.

     

    Hope this helps. Contact us again if you have further questions.

    Neil

  • Profile Image
    skech
    Answered on April 15, 2011 at 06:17 PM

    This changes the text box colour but not the text area colour or the colour of any other fields, how can all the fields be changed?

  • Profile Image
    NeilVicente
    Answered on April 16, 2011 at 03:16 AM

    Hi,

    Use this code instead:

    input,textarea,select {
    background-color: red;
    }

    input is for the textbox

    textarea is, obviously, for the text area

    select is for the dropdowns

    Background color for radio buttons and checkboxes cannot be changed. I hope you find this information useful.

  • Profile Image
    glennscollins
    Answered on September 08, 2011 at 11:42 AM

    What is the css code for making field areas transparent?

  • Profile Image
    NeilVicente
    Answered on September 08, 2011 at 12:40 PM

    Hi,

    Please try this code:

    html,body,.form-all,input,textarea,select {
    background-color: transparent;
    }

    Let us know how it works for you. Thanks!

     

    Neil