How To Stylise a single label in product list with custom CSS

  • Profile Image
    markashton
    Asked on June 27, 2012 at 08:23 AM

    Hi,

     

    This form ... http://form.jotformpro.com/form/21766317064959

    I have managed to stylise all the labels with the following inject code ...

    .form-product-item label {

    color: red;

    }

     

    Can anyone advise me on how I would do this for a single label i.e. delivery

    I can't seem to get the ID syntax correct.

    The ID is input_7_1003

    many thanks

    Regards Mark

     

  • Profile Image
    liyam
    Answered on June 27, 2012 at 09:09 AM

    Hello Mark.  You can use the "for" attribute value and the "label" HTML tag to use for CSS.  For example, you wish to use Skirt as the one only in red:

    .form-product-item label[for=input_7_1002] {
    color: red;
    }

  • Profile Image
    markashton
    Answered on June 27, 2012 at 09:46 AM

    Genius Liyam, 

    You are in my "Cool Book"

    Thanks

  • Profile Image
    Baroninn Vefhönnun 
    Answered on October 17, 2015 at 01:37 AM

    Wow...

    After hours of searching , i came across this page..

     

    Thank you thank you !