Add background color indicating class also for custom backgrounds
[MAILPOET-2609]
This commit is contained in:
committed by
Pavel Dohnal
parent
ab1e2ef0a9
commit
6b718dfb2c
@ -29,6 +29,8 @@ class Columns {
|
||||
if (!empty($params['background_color'])) {
|
||||
$classes[] = "has-{$params['background_color']}-background-color";
|
||||
$classes[] = "mailpoet_column_has_background";
|
||||
} elseif (!empty($params['custom_background_color'])) {
|
||||
$classes[] = "mailpoet_column_has_background";
|
||||
}
|
||||
if (!empty($params['text_color'])) {
|
||||
$classes[] = "has-{$params['text_color']}-color";
|
||||
|
Reference in New Issue
Block a user