• Resolved Acky

    (@madnil)


    I’m using my own css classes for “form input field DIV” and “form input field labels”. The form uses one set of radio buttons, which end up with the class defined for “form input field labels” instead of the “form input field DIV”. For any other type of input field the correct class is assigned.

    Is this a bug or do I oversee/misunderstand something?

    EDIT: I also found that the css code directly specified for the field is ignored. Looks like a bug.

    http://wordpress.org/plugins/si-contact-form/

Viewing 7 replies - 1 through 7 (of 7 total)
  • I made a recent change to make the radio labels obey the form input field labels.
    Can you post a URL to your form so I can see an example of what it looks like? and what you are trying to change it to?

    Thread Starter Acky

    (@madnil)

    The url is http://www.himalaya-adventure.de/touren

    At the moment I switched the “Trainingsplan” to a select field. All the labels should be surrounded by a div.fm_label and all the fields with a div.fm_div.

    Have a look at http://d.pr/i/tyfM for layout and source code. The line with the “wrong” class is highlighted.

    I’m experiencing the same problem.

    The form displays ok when the labels are set to appear on top but when you change the setting so that they appear on the left, then the radio buttons appear inside a label div.

    Label code:

    <div style="width:138px; text-align:right; float:left; clear:left; padding-top:8px; padding-right:10px;">
    
    <label>Type of Enquiry:</label>
    
    </div>

    Radio buttons:

    <div style="width:138px; text-align:right; float:left; clear:left; padding-top:8px; padding-right:10px;">
    
    <span style="white-space:nowrap;">
    <input type="radio" style="width:13px;" id="si_contact_ex_field1_10_1" name="si_contact_ex_field10" value="I Require a Sales Exec Visit" />
    
    <label style="display:inline;" for="si_contact_ex_field1_10_1">I Require a Sales Exec Visit</label>
    
    </span>
    
    </div>

    I wont be able to troubleshoot this for a few days, but I will take a look then

    Thread Starter Acky

    (@madnil)

    The latest version 3.1.9.1 assigns the css code specified in “form input field DIV” also to the radio buttons now. Thank you for fixing this.

    There is still the problem that any css code directly specified for the field if these are radio buttons is ignored. For the label it’s working.

    This is fixed in version 4.0 beta, there won’t be any more updates to 3.xx version
    http://www.fastsecurecontactform.com/beta

    Thread Starter Acky

    (@madnil)

    Ok, fair enough.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Radio buttons don't get correct CSS’ is closed to new replies.