Read the statement by Michael Teeuw here.
Usage of "classes" Parameter
-
The module configuration documentation says that you can set a custom “classes” parameter and specify css classes for a module. I am displaying several modules on multiple pages where the main page has a small “snapshot” bit of information, and then on another page I have more in-depth information (calendars, weather forecasts, etc.). I’d like to adjust the font size for the module on only one of the pages. What is the format of using the “classes” parameter then? I’ve tried this for the config:
... module: 'module-name', classes: 'myclass', ...
and then something like this in the custom.css:
.module-name .myclass { font-size: 50px; }
but it doesn’t seem to be taking, so I’m assuming I’m doing it wrong and haven’t been able to find any examples. Any help would be great. Thanks!
-
@tylerj714 i think these classes are without the module prefix
you should be able to see the classes assigned in the developers window elements tab