Changing Border Color for "Warning This Is A Required Field"

  • Profile Image
    nubase
    Asked on August 29, 2012 at 10:15 AM

    How can i change the border color for "warning this is a required field"? I'm using the nova theme and have inputted the following but the border still comes up pink/red...

    .form-line-active {

    background-color:#FFFFFF;

    }

    .form-required {

    color: #527fb1 !important;

    }

    input,textarea,select {

    background-color: #FFFFFF;

    border:1px inset #e7e7e7;

    }

    .form-required {

    color: transparent;

    }

    .form-line-error {

    background:none repeat scroll 0 0;

    }

    .form-error-message {

    display: none !important;

    background-color:transparent !important;

    color:#000000!important;

    }

    .form-validation-error {

    border:1px inset #e7e7e7;

    -moz-box-shadow:none;

    -webkit-box-shadow:none;

    box-shadow:none;

    border-color:#e7e7e7!important;

    background-color:transparent!

    color:#e7e7e7;

    }

    .form-all{

    float:left;

    padding-top:0px !important;

    }

    .form-line-active {

    background:white;

    color:#000000;

    }

    .form-textbox {

    width: 290px;

    }

    .form-textarea {

    width: 290px;

    }

    .form-line, .form-label-left {

    padding-left: 0;

    }

  • Profile Image
    pinoytech
    Answered on August 29, 2012 at 10:39 AM

    Hi nubase,

    Can you please take a look at this Cloneded Form of yours if this is what you want to achieve? If yes, just kindly replace the codes that you have injected into your form with this codes bellow:

    .form-line-active {

    background-color:#FFFFFF;

    }

    .form-required {

    color: #527fb1 !important;

    }

    input,textarea,select {

    background-color: #FFFFFF;

    border:1px inset #e7e7e7;

    }

    .form-required {

    color: transparent;

    }

    .form-line-error {

    background:none repeat scroll 0 0;

    }

    .form-error-message {

    display: none !important;

    background-color:transparent !important;

    color:#000000!important;

    }

    .form-line-error input, .form-line-error textarea {

    border: 1px solid #e7e7e7;

    -moz-box-shadow: none !important;

    -webkit-box-shadow: none !important;

    box-shadow: none !important;

    }

    .form-all{

    float:left;

    padding-top:0px !important;

    }

    .form-line-active {

    background:white;

    color:#000000;

    }

    .form-textbox {

    width: 290px;

    }

    .form-textarea {

    width: 290px;

    }

    .form-line, .form-label-left {

    padding-left: 0;

    }

    If you need further assistance, feel free to contact us again at anytime.

    Thank you!

  • Profile Image
    nubase
    Answered on August 29, 2012 at 10:52 AM

    Exactly what i wanted! Thank you so much! You're a life saver! :D

  • Profile Image
    pinoytech
    Answered on August 29, 2012 at 10:54 AM

    You are quite welcome nubase! If ever you need our assistance again, please don't hesitate to contact us at anytime.

    Have a good day!