How to set up CSS in YAML

I’ve tried to find instructions for the cssclass type in YAML. I’ve looked in the Hub, YouTube, Discord and here. It seems to depend on the implicit knowledge of coders.

Here is what I’ve tried so far. If we can identify the correct steps, this will be a useful record for others like myself.

My steps are: Create CSS file:

padding-bottom: 10px ;
padding-top: 10px ;

I save this as test.css to the snippets folder.
I activate the snippet.
I add this to YAML: cssclass: test

But it doesn’t work. Solutions would be most welcome.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.