Elxis CMS Forum
Support => Elxis 4.x/5.x DEV => Topic started by: nikos on October 02, 2012, 13:20:11
-
I want to declare a css suffix into a module and i would like to ask what is the way of syntax into css? (Something like div.moduletable-myclass {} which we use in elxis2009.x)
-
I found it. The syntax is: div.module-myclass {}
-
Bravo Niko!
-
Thx Stavro, and if you want to customize the title module also, then you have to write div.module-myclass h3 {} so in this way setting into module suffix -myclass you can customize both (layout and title).
-
Correct! :)
-
The css suffix is considered an old method, not deprecated (as it is still supported), but old fashioned.
The problem is that only more experienced users can understand and even more edit the css and add more styles.
I think that it is better, for the end user, the developer to either apply a native css or/and provide the user the ability to change the colours and layout via parameters.
This is the spirit on most extensions we have developed for Elxis 4.x.