Hi this should be an obvious one. I just can’t seem to find it. I’m trying to arrange sub fields in a Flexible Content field and I’m using the block layout. I can set the wrapper widths to 50% which works well but I am getting some sub fields floating when I don’t need them to. I thought I could fix this by adding a class in the wrapper attributes class option but I don’t know how to make a class available. I assume I need to make a stylesheet with whatever class I need but I don’t know how to make the stylesheet available. The only info I can find is to use add_editor_style(); in my functions.php but I think this only adds styles to the wordpress default wysiwyg editor.
Much apreciated if someone could tell me how to do this please.
Found it. In functions.php:
add_action('admin_head', 'my_custom_css');
function my_custom_css() {
echo '<style>
.clear-left {
clear:left !important;
}
</style>';
}