# formidable/3.06.06/classes/views/styles/_general.php

Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes &amp; More, version 3.06.06. 71 lines.

- Page: https://pluginprobe.com/plugins/formidable/3.06.06/code/classes/views/styles/_general.php
- Raw: https://pluginprobe.com/plugins/formidable/3.06.06/raw/classes/views/styles/_general.php
- Modified: 2019-05-03T22:58:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/formidable/3.06.06/code/classes/views/styles/_general.php#L10-L20`.

```php
<p>
	<label><input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'center_form' ) ); ?>" id="frm_center_form" value="1" <?php checked( $style->post_content['center_form'], 1 ); ?> />
		<?php esc_html_e( 'Center form on page', 'formidable' ) ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'This will center your form on the page where it is published if the form width is less than the available width on the page.', 'formidable' ) ?>" ></span>
	</label>
</p>

<div class="field-group clearfix frm-first-row">
	<label><?php esc_html_e( 'Alignment', 'formidable' ) ?></label>
	<select name="<?php echo esc_attr( $frm_style->get_field_name( 'form_align' ) ) ?>" id="frm_form_align">
		<option value="left" <?php selected( $style->post_content['form_align'], 'left' ); ?>>
			<?php esc_html_e( 'left', 'formidable' ); ?>
		</option>
		<option value="right" <?php selected( $style->post_content['form_align'], 'right' ); ?>>
			<?php esc_html_e( 'right', 'formidable' ); ?>
		</option>
		<option value="center" <?php selected( $style->post_content['form_align'], 'center' ); ?>>
			<?php esc_html_e( 'center', 'formidable' ); ?>
		</option>
	</select>
</div>

<div class="field-group clearfix frm-first-row">
	<label><?php esc_html_e( 'Max Width', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'form_width' ) ); ?>" value="<?php echo esc_attr( $style->post_content['form_width'] ); ?>"/>
</div>

<div class="field-group clearfix frm-first-row">
	<label><?php esc_html_e( 'Background', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_bg_color' ) ); ?>" id="frm_fieldset_bg_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_bg_color'] ); ?>" size="4" />
</div>

<div class="field-group field-group-border clearfix">
	<label><?php esc_html_e( 'Border', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset' ) ); ?>" id="frm_fieldset" value="<?php echo esc_attr( $style->post_content['fieldset'] ); ?>" size="4" />
</div>

<div class="field-group clearfix">
	<label><?php esc_html_e( 'Color', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_color' ) ); ?>" id="frm_fieldset_color" class="hex" value="<?php echo esc_attr( $style->post_content['fieldset_color'] ); ?>" />
</div>

<div class="field-group clearfix">
	<label><?php esc_html_e( 'Padding', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'fieldset_padding' ) ); ?>" id="frm_fieldset_padding" value="<?php echo esc_attr( $style->post_content['fieldset_padding'] ); ?>" size="4" />
</div>

<div id="frm_gen_font_box" class="field-group clearfix">
	<label><?php esc_html_e( 'Font Family', 'formidable' ) ?></label>
	<input type="text" name="<?php echo esc_attr( $frm_style->get_field_name( 'font' ) ); ?>" id="frm_font" value="<?php echo esc_attr( $style->post_content['font'] ); ?>"  class="frm_full_width" />
</div>

<div class="field-group clearfix frm-half">
	<label><?php esc_html_e( 'Direction', 'formidable' ) ?></label>
	<select name="<?php echo esc_attr( $frm_style->get_field_name( 'direction' ) ); ?>" id="frm_direction">
		<option value="ltr" <?php selected( $style->post_content['direction'], 'ltr' ); ?>>
			<?php esc_html_e( 'Left to Right', 'formidable' ) ?>
		</option>
		<option value="rtl" <?php selected( $style->post_content['direction'], 'rtl' ); ?>>
			<?php esc_html_e( 'Right to Left', 'formidable' ) ?>
		</option>
	</select>
</div>

<div class="clear"></div>
<p class="frm_no_bottom_margin">
	<label>
		<input type="checkbox" name="<?php echo esc_attr( $frm_style->get_field_name( 'important_style' ) ); ?>" id="frm_important_style" value="1" <?php checked( $style->post_content['important_style'], 1 ); ?> />
		<?php esc_html_e( 'Override theme styling', 'formidable' ) ?> <span class="frm_help frm_icon_font frm_tooltip_icon" title="<?php esc_attr_e( 'This will add !important to many of the lines in the Formidable styling to make sure it will be used.', 'formidable' ) ?>" ></span>
	</label>
</p>

```
