File Editor
Directories:
.. (Back)
Files:
classic-body.php
classic-field.php
classic-footer.php
classic-header.php
classic-queries.php
classic-style.php
compact-body.php
compact-field.php
compact-footer.php
compact-header.php
compact-queries.php
compact-style.php
general-body-plain.php
general-body.php
general-footer.php
general-header.php
general-queries.php
general-style.php
summary-body-plain.php
summary-body.php
summary-footer-plain.php
summary-footer.php
summary-header.php
summary-queries.php
summary-style.php
Create New File
Create
Edit File: general-style.php
<?php /** * General style template. * * This template can be overridden by copying it to yourtheme/wpforms/emails/general-style.php. * * @since 1.5.4 * * @version 1.5.4 * * @var string $email_background_color */ if ( ! \defined( 'ABSPATH' ) ) { exit; } require \WPFORMS_PLUGIN_DIR . '/assets/css/emails/general.min.css'; ?> body, .body { background-color: <?php echo \esc_attr( $email_background_color ); ?>; } <?php if ( ! empty( $header_image_max_width ) ) : ?> .header img { max-width: <?php echo esc_attr( $header_image_max_width ); ?>px; } <?php endif; ?>
Save Changes
Rename File
Rename