Module variations and Suffixes

Module Class Suffix is a parameter in Joomla! modules. Setting this parameter causes Joomla! to either add a new CSS class or modify the existing CSS class for the div element for this specific module.

To use a module variation, just enter one of the following suffixes in the Module Class Suffix field of the module parameters:

mod_dark

mod_green

mod_yellow

mod_red

mod_purple

mod_grey

Heads up! Make sure that you enter the suffix with a leading space otherwise the module styling will not be applied correctly.


no-padding

Use this suffix in a module to apply a padding of 0 pixels.

no-margin

Use this suffix in a module to apply a margin of 0 pixels.

formatModule

Use this suffix to apply the default module style to a module in a spotlight position.

padding15

Use this suffix to apply a padding of 15 pixels to a module in a sidebar position.

grey-bg

Use this suffix in a menu item or module to apply a grey color as background color.