Custom HTML Module -> Advanced -> Module Class Suffix, fill in class name like "myclass"
class name "myclass" should only appear at one place, either <div class="custom myclass"></div>
or <div class="moduletable myclass">
<div class="moduletable myclass">
<div class="custom myclass"></div>
</div>
This behavior has been there for a long time since 2.5
@bembelimen is right. This is well known (feature?). In my opinion, it dosen't change anything, rather helps styling sometimes. Consider the case if I have selector .moduletable.myclass .myclass
in my CSS and now we remove one of them. It would break it. Finally, developer can always create custom chrome module. All in all, it dosen't hurt.
Closing as expected behavior
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-04-01 21:02:12 |
Closed_By | ⇒ | Bakual |
Labels |
Added:
?
|
Labels |
Removed:
?
|
Labels |
Added:
?
|
You have this behavior in nearly every module not only in mod_custom.