Chunk

Module Class Suffix/de: Difference between revisions

From Joomla! Documentation

Created page with "Wenn Joomla! ein Modul generiert, erstellt es automatisch eine CSS-Klasse namens "moduletable", um das Styling des Moduls zu ermöglichen - zum Beispiel <source lang="html4str..."
mNo edit summary
Line 1: Line 1:
Modul-Klassen-Suffix ist ein Parameter in Joomla!-Modulen. Er wird auf dem Modul-Bearbeitungsbildschirm unter „Erweitertet“ eingestellt. Die Einrichtung dieses Parameters bewirkt, dass Joomla! entweder eine neue CSS-Klasse hinzufügt oder die bestehende CSS-Klasse für das <code>div</code>-Element für dieses spezifische Modul ändert.
Modul-Klassen-Suffix ist ein Parameter in Joomla!-Modulen. Er wird auf dem Modul-Bearbeitungsbildschirm unter „Erweitertet“ eingestellt. Die Einrichtung dieses Parameters bewirkt, dass Joomla! entweder eine neue CSS-Klasse hinzufügt oder die bestehende CSS-Klasse für das <code>div</code>-Element für dieses spezifische Modul ändert.


Wenn Joomla! ein Modul generiert, erstellt es automatisch eine CSS-Klasse namens "moduletable", um das Styling des Moduls zu ermöglichen - zum Beispiel <source lang="html4strict"><div class="moduletable"></source>  
Wenn Joomla! ein Modul generiert, erstellt es automatisch eine CSS-Klasse namens "moduletable", um das Styling des Moduls zu ermöglichen - zum Beispiel: <source lang="html4strict"><div class="moduletable"></source>  


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 <source lang="html4strict"><div class="moduletable myNewClass"></source>  
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 <source lang="html4strict"><div class="moduletable myNewClass"></source>  

Revision as of 12:08, 17 August 2022

Modul-Klassen-Suffix ist ein Parameter in Joomla!-Modulen. Er wird auf dem Modul-Bearbeitungsbildschirm unter „Erweitertet“ eingestellt. Die Einrichtung dieses Parameters bewirkt, dass Joomla! entweder eine neue CSS-Klasse hinzufügt oder die bestehende CSS-Klasse für das div-Element für dieses spezifische Modul ändert.

Wenn Joomla! ein Modul generiert, erstellt es automatisch eine CSS-Klasse namens "moduletable", um das Styling des Moduls zu ermöglichen - zum Beispiel:

<div class="moduletable">

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