- Issue created by @pitav
Taking inspiration from the example.style_options.yml file, here is my theme.style_options.yml file
options:
bg_color:
plugin: background_color
label: Background Color
method: inline
settings:
allowEmpty: TRUE
showInput: TRUE
showAlpha: FALSE
showPalette: FALSE
appendTo: ".ui-dialog-content"
contexts:
plugins.
layout:
_defaults:
options:
bg_color:
layout: true
regions:false
# Defines specific overrides for one column layouts
paragraph_container:
options:
bg_color:
layout: true
behaviors.
paragraphs:
section:
options:
bg_color: true
In CKeditor everything works perfectly but on the page the background color does not apply!
I noticed when using the css method the styles are applied in the head tag but not the class in the template. I deduce that something must be entered at the template level and perhaps in my theme.layouts.yml file
Do I need to add something in my theme.layouts.yml file or in my template
paragraph_container:
label: "Container with background option"
category: "Extruflex"
template: templates/_paragraphs-layout/paragraph-container
default_region: content
icon_map:
- [content]
regions:
thrilled:
label: Container with background option
Thanks for your help
Active
1.1
Code