Picture of sander van zijl
Working with classes
by sander van zijl - Wednesday, 10 June 2015, 3:05 PM
 

From the theming movie on youtube I learned that the "classes" box can be used to add css to the article, page etc.

I have been trying to change the appearance of a page for example by adding there: background-color.

the background color is defined in the css variables.less

unfortunately this does exactly nothing.

could someone explain how to use this classes box? i am trying some stuff with the standard vanilla theme.

or to put it another way: which classes from the vanilla theme can I put in the classes box? 

Picture of Chuck Lorenz
Re: Working with classes
by Chuck Lorenz - Wednesday, 10 June 2015, 6:20 PM
 

Hi Sander,

See fit this thread is of help: https://community.adaptlearning.org/mod/forum/discuss.php?d=700

Two parts: (1) a class that appears in the less files gets (2) assigned to a component in the classes field.

Chuck