Commit b09b78cd authored by Benthe Kuijpers's avatar Benthe Kuijpers
Browse files

always multiplying images

parent abba5d0b
......@@ -137,7 +137,7 @@
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "33.3",
"width": "50",
"class": "",
"id": ""
},
......@@ -161,7 +161,7 @@
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "33.3",
"width": "50",
"class": "",
"id": ""
},
......@@ -176,30 +176,6 @@
"layout": "vertical",
"return_format": "value",
"save_other_choice": 0
},
{
"key": "field_604629a9ae1d0",
"label": "Image blend mode",
"name": "img_blend_mode",
"type": "radio",
"instructions": "",
"required": 0,
"conditional_logic": 0,
"wrapper": {
"width": "33.3",
"class": "",
"id": ""
},
"choices": {
"normal": "Normal",
"multiply": "Multiply"
},
"allow_null": 0,
"other_choice": 0,
"default_value": "",
"layout": "vertical",
"return_format": "value",
"save_other_choice": 0
}
],
"min": "",
......@@ -616,5 +592,5 @@
"hide_on_screen": "",
"active": true,
"description": "",
"modified": 1615828951
"modified": 1616153371
}
\ No newline at end of file
......@@ -27,6 +27,7 @@
display: inline-block;
width: 100%;
max-width: 400px;
mix-blend-mode: multiply;
}
}
......
......@@ -2,13 +2,12 @@
$order = get_sub_field('order');
$background = get_sub_field('background');
$image = get_sub_field('image');
$blend_mode = get_sub_field('img_blend_mode');
?>
<div class="content-row content-row--<?php echo $order; ?> content-row--<?php echo $background; ?>" data-index="<?php echo $row_index; ?>">
<div class="container container--flex">
<?php if ($image) { ?>
<div class="image-wrapper">
<img src="<?php echo $image; ?>" style="mix-blend-mode:<?php echo $blend_mode; ?>">
<img src="<?php echo $image; ?>">
</div>
<? } ?>
<div class="text-wrapper">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment