Introduction to Morphs Module Suffixes (ModuleFX)
With Morph, you can apply any of the module styles to any module in any position by simply adding suffixes.
What is a suffix?
"A suffix (also postfix, ending) is an affix which is placed after the stem of a word"
Every module in Joomla has a parameter option (input box) where you can add a suffix or a combination of suffixes. This allows you to style each module individually.
You can use suffixes to add additional styling to a module or give it a different look from other modules on the page. When you add a suffix, or a combination (string) of suffixes, it will automatically be added to the default css class of the module in the modules code.
How to work with Module FX - before you start
There are loads of preset styles for the different elements of a module, ie. title/header and module container. There are also some "control suffixes" that can be used to force the modules to look differently, by removing padding, margin and borders, etc. Here is brief summary of the module suffix types.
Background colors
Set different background colors, images, gradients and other effects.
Background images
Set different background colors, images, gradients to module headers.
Font size
Set different font color and size for the content in your module.
Font color
Set different background colors, images, gradients and other effects.
Heading Icons
Set different background colors, images, gradients to module headers.
Control Styles
Set different font color and size for the content in your module.
How to work with Module FX - adding the suffixes
Adding a suffix is a lot easier that you may at first think, lets take a look at how this is done in the Joomla admin:
Open the module for which you want to add a suffix. On the right hand side you see "Module Parameters" > "Module Class Suffix" and that's where you add the suffix.
Chaining the suffixes together to apply multiple styles
By adding the suffixes together, you can easily change the color of the text, add a background color and add an icon all in one suffix. All you need to do is add a space between each suffix you apply and the rest will happen automatically.
For example, a header icon can be applied with a heading color to create a module with a specific icon and color by using a suffix something like this. "h3color03 h3bgcolor08 h3icon06"
Using control styles to further change the module
You can easily strip away any borders or padding from either the heading or the module body using a "control suffix" just the same way you add the styles. You just need to know what they are.
Do you think this help article can be improved?
Our goal is to make Morph's documentation as easy and simple to use as possible and if you feel there is anything we can do to improve, whether updates / refinements to the content or how everything is structured, please let us know! We really do value all of the feedback we get and will do everything possible to ensure that the documentation is relevant and useful to you getting up and running with Morph!