| 1 |
<div class="field-group field-group-background clearfix frm-first-row"> |
| 2 |
<label><?php esc_html_e( 'Color', 'formidable' ) ?></label> |
| 3 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_color' ) ) ?>" id="frm_description_color" class="hex" value="<?php echo esc_attr( $style->post_content['description_color'] ) ?>" /> |
| 4 |
</div> |
| 5 |
<div class="field-group clearfix frm-first-row"> |
| 6 |
<label><?php esc_html_e( 'Weight', 'formidable' ) ?></label> |
| 7 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_weight' ) ) ?>" id="frm_description_weight"> |
| 8 |
<?php foreach ( FrmStyle::get_bold_options() as $value => $name ) { ?> |
| 9 |
<option value="<?php echo esc_attr( $value ) ?>" <?php selected( $style->post_content['description_weight'], $value ) ?>><?php echo esc_html( $name ) ?></option> |
| 10 |
<?php } ?> |
| 11 |
</select> |
| 12 |
</div> |
| 13 |
<div class="field-group clearfix frm-first-row"> |
| 14 |
<label><?php esc_html_e( 'Style', 'formidable' ) ?></label> |
| 15 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_style' ) ) ?>" id="frm_description_style"> |
| 16 |
<option value="normal" <?php selected( $style->post_content['description_style'], 'normal' ) ?>> |
| 17 |
<?php esc_html_e( 'normal', 'formidable' ) ?> |
| 18 |
</option> |
| 19 |
<option value="italic" <?php selected( $style->post_content['description_style'], 'italic' ) ?>> |
| 20 |
<?php esc_html_e( 'italic', 'formidable' ) ?> |
| 21 |
</option> |
| 22 |
</select> |
| 23 |
</div> |
| 24 |
|
| 25 |
<div class="field-group clearfix"> |
| 26 |
<label><?php esc_html_e( 'Size', 'formidable' ) ?></label> |
| 27 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_font_size' ) ) ?>" id="frm_description_font_size" value="<?php echo esc_attr( $style->post_content['description_font_size'] ) ?>" size="3" /> |
| 28 |
</div> |
| 29 |
<div class="field-group clearfix"> |
| 30 |
<label><?php esc_html_e( 'Align', 'formidable' ) ?></label> |
| 31 |
<select name="<?php echo esc_attr( $frm_style->get_field_name( 'description_align' ) ) ?>" id="frm_description_align"> |
| 32 |
<option value="left" <?php selected( $style->post_content['description_align'], 'left' ) ?>> |
| 33 |
<?php esc_html_e( 'left', 'formidable' ) ?> |
| 34 |
</option> |
| 35 |
<option value="right" <?php selected( $style->post_content['description_align'], 'right' ) ?>> |
| 36 |
<?php esc_html_e( 'right', 'formidable' ) ?> |
| 37 |
</option> |
| 38 |
</select> |
| 39 |
</div> |
| 40 |
<div class="field-group clearfix"> |
| 41 |
<label><?php esc_html_e( 'Margin', 'formidable' ) ?></label> |
| 42 |
<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'description_margin' ) ) ?>" id="frm_description_margin" value="<?php echo esc_attr( $style->post_content['description_margin'] ) ?>" size="3" /> |
| 43 |
</div> |
| 44 |
<div class="clear"></div> |
| 45 |
|