Since version 9.1 it is possible that each container has the possibility to add custom styling (brush icon). For areas there is a possiblity to set predefined css-classes - how does this work for containers?
Yeah I searched for this. But it doesn’t seem to work. For blocks i can use in page_theme.php the function getThemeBlockClasses() and for areas I can use getThemeAreaClasses() – but I didn’t found anything like getThemeContainerClasses().
Hi carmel. You can add predefined classes to ckeditor. There is a documentation page for that.
Basically you add a code section to your theme in page_theme.php an define styles. They are presented in the ckeditor in a dropdown.
‘colorButton_colors’ are inline styles. You need to set the same color values in the theme variables and in ‘colorButton_colors’.
There might be a way to programmatically use theme variables to change colors sitewide. If you need that, PM me and I send you the contact info of our developer. She might help you with that.