Does HTML blocks allow just inline CSS?
Thank you
Alessio
Hi Alessio
The way to do this in the block is to allow additional CSS classes in the HTML block (Site admin > Plugins > Blocks > HTML - Allow additional CSS classes
Then add the HTML block to the page and there should be a box where you can enter the CSS class you want to change eg background
Then go into the theme for you site and add Custom CSS for example .background{background-color:#768f40;}
I tried in 11 and seemed to work but don't know if there is a better/easier way to do this.
regards
Thank you for your reply Craig.
Can I add some CSS within <style></style>?
I tried to do it, but as soon as I click on save button, Totara delete all the code within those tags.