🐞 fix: Remove ACF color picker and add gradient background support
Sync TODOs with Issues / sync_todos (push) Successful in 5s
Sync TODOs with Issues / sync_todos (push) Successful in 5s
This commit is contained in:
@@ -1,27 +1,35 @@
|
||||
{
|
||||
"name": "acf/section",
|
||||
"title": "Section",
|
||||
"description": "Content section",
|
||||
"style": [
|
||||
"file:./section.css"
|
||||
],
|
||||
"category": "vdi-blocks",
|
||||
"icon": "align-wide",
|
||||
"keywords": [
|
||||
"setion",
|
||||
"content"
|
||||
],
|
||||
"acf": {
|
||||
"mode": "preview",
|
||||
"renderTemplate": "section.php"
|
||||
},
|
||||
"supports": {
|
||||
"align": true,
|
||||
"anchor": true,
|
||||
"color": true,
|
||||
"html": true,
|
||||
"jsx": true,
|
||||
"mode": true,
|
||||
"multiple": true
|
||||
}
|
||||
"name": "acf/section",
|
||||
"apiVersion": 3,
|
||||
"title": "Section",
|
||||
"description": "Content section",
|
||||
"style": [
|
||||
"file:./section.css"
|
||||
],
|
||||
"category": "vdi-blocks",
|
||||
"icon": "align-wide",
|
||||
"keywords": [
|
||||
"setion",
|
||||
"content"
|
||||
],
|
||||
"acf": {
|
||||
"blockVersion": 3,
|
||||
"mode": "preview",
|
||||
"renderTemplate": "section.php"
|
||||
},
|
||||
"supports": {
|
||||
"align": true,
|
||||
"anchor": true,
|
||||
"color": {
|
||||
"background": true,
|
||||
"gradients": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true
|
||||
}
|
||||
},
|
||||
"html": false,
|
||||
"jsx": true,
|
||||
"mode": true,
|
||||
"multiple": true
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ $ovlImage = get_field( 'overlay_image' );
|
||||
$ovlOpacity = get_field( 'overlay_opacity' ) ? get_field( 'overlay_opacity' ) / 100 : 1;
|
||||
|
||||
// Set classes
|
||||
$classes = 'section';
|
||||
$classes = 'section relative';
|
||||
|
||||
if ( $contentWidth === 'full' ) {
|
||||
$classes .= ' mx-break-out';
|
||||
|
||||
Reference in New Issue
Block a user