You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
579 B
PHTML
31 lines
579 B
PHTML
8 months ago
|
<?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; ?>
|