Chunk

Module class achtervoegsel

From Joomla! Documentation

Revision as of 09:51, 24 March 2014 by Grubosoft (talk | contribs) (Created page with "Wanneer Joomla! een module genereert , maakt het automatisch een CSS-klasse naam "moduletable" aan om het stijlen van de module -- bijvoorbeeld, <source lang="html4strict"><di...")

Module Class achtervoegsel is een parameter in Joomla! modules. Het wordt geconfigureerd in het Module: [Bewerken] venster bij "Geavanceerde parameters". Het instellen van deze parameter laat Joomla! ofwel een nieuwe CSS class toevoegen of de bestaande CSS class wijzigen voor het div element voor deze specifieke module.

Wanneer Joomla! een module genereert , maakt het automatisch een CSS-klasse naam "moduletable" aan om het stijlen van de module -- bijvoorbeeld,

<div class="moduletable">

toe te staan. To create a new class, enter the parameter with a leading space. For example, entering a space plus "myNewClass" will create a new CSS class called "myNewClass". The HTML will be changed to

<div class="moduletable myNewClass">

To change the name of the existing class, enter in the parameter without a leading space. For example, entering "_mySuffix" (no leading space) will cause the HTML to changed to

<div class="moduletable_mySuffix">

Generally, it is recommended to use a leading space to create a new class. This way, CSS styling for this module that uses the standard class names will continue to work. You can use the new class name to add any desired styling to the module without needing to re-create all of the existing CSS code. Note that, if you create a new class name, make sure it has a unique name and doesn't conflict with any existing class names.

See Using Class Suffixes for more information.

Languages

Other languages:
Bahasa Indonesia • ‎Deutsch • ‎English • ‎Kiswahili • ‎Nederlands • ‎català • ‎español • ‎français • ‎italiano • ‎svenska • ‎русский • ‎中文(台灣)‎ • ‎日本語