Can't change font weight in image radio buttons

  • Profile Image
    armariosbarcelona
    Asked on February 19, 2015 at 10:07 AM

    Hi,

    I have a pair of image radio buttons widgets and I want to change the font's style of each item into normal weight, instead of bold as it appears originally.

    I wrote this css in preferences:

     

    .form-image radio buttons-item label

    {

    font-weight: normal;

    font-size: small;

    }

     

    But it doesn't work.

    Please, could you tell me what I'm doing wrong?

    Thanks!

  • Profile Image
    armariosbarcelona
    Answered on February 19, 2015 at 10:58 AM

    Ok, I got it!

    I wrote this into the properties of the widget, section css:

     

    li label {

    font-weight: normal;

    font-size: small;

    }

     

    But I'd like to know why it doesn't work the other way.

  • Profile Image
    david
    Answered on February 19, 2015 at 01:24 PM

    Glad to hear you were able to get it sorted.  The widget may be using a "list" element to create the radio buttons within the widget, rather than an item label.  Our widgets are not necessarily constructed in the same manner as other fields. 

    If you have any further questions, let us know and we will be happy to help.