kommi
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] Adding images to radio buttons (revisited)If anyone is interested, here is my solution:
At first I was getting tripped up by the one line of code generated by Contact Form 7 for a radio buttons with 3 options:
‘[radio radio-173 id:100 class:myradio use_label_element “First Choice”, “Second Choice”, “Third Choice”]’
I instead broke those out into 3 lines of code and was able to insert any image above each control. Then I just used CSS to reposition the radio buttons in line. Just make sure you check off “Wrap each item with <label> tag?” for the span tags that make it easier to CSS it.
‘<p>
<img src=”url_to_some_jpg.jpg”></img></br>
[radio radio-173 id:100 class:myradio use_label_element “First Choice”]
<img src=”url_to_some_jpg.jpg”></img></br>
[radio radio-173 id:100 class:myradio use_label_element “Second Choice”]
<img src=”url_to_some_jpg.jpg”></img></br>
[radio radio-173 id:100 class:myradio use_label_element “Third Choice”]<p>Your Name (required)
[text* your-name] </p>’Forum: Plugins
In reply to: [Contact Form 7] Adding images to radio buttons (revisited)OK I figured it out, mod please delete this post. Thanks!
Forum: Plugins
In reply to: [Contact Form 7] Add images to Checkboxes/radio buttonDoes anyone have n update to this? I am trying to do the same thing (have images sit above radio buttons) but am not sure how to use the supplied code by andrianiannalisa