Sobi2
FAQ
Templates & Design
How to add an image to a checkbox group |
Located in Templates & Design Tagged with Checkbox group, image, option |
|
| Written by Radek Suski |
| Last updated on Thursday, 16 July 2009 |
You can add an image to the options in the checkbox group by adding this statement to the option value in the Fields Manager:
My Option Name {img=/path/to/my_image.png} You will need probably also some CSS changes to center the image vertically in the details view. ul.sobi2Listing_field_checkbox li img { vertical-align:middle; } table.field_field_checkbox input, table.field_field_checkbox img { vertical-align:middle; } And some CSS changes to remove the original bullet point for the list: ul.sobi2Listing_field_checkbox li{ list-style-type:none; background: none; } |
| Published on Tuesday, 22 January 2008. Visited 7787 times. |
| < Prev | Next > |
|---|
| Powered by Sigsiu.NET | ![]() |
Visitors: