Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Download Elxis CMS:
Elxis 5.5 Hermes
.
Home
Help
Login
Register
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
CSS suffix syntax
« previous
next »
Print
Pages: [
1
]
Author
Topic: CSS suffix syntax (Read 7085 times)
nikos
Elxis Community
Hero Member
Posts: 1094
CSS suffix syntax
«
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)
Logged
Elxis Community |
Open Source Web Lab
nikos
Elxis Community
Hero Member
Posts: 1094
Re: CSS suffix syntax
«
Reply #1 on:
October 02, 2012, 14:30:29 »
I found it. The syntax is: div.module-myclass {}
Logged
Elxis Community |
Open Source Web Lab
webgift
Elxis Team
Hero Member
Posts: 4193
Re: CSS suffix syntax
«
Reply #2 on:
October 02, 2012, 14:52:27 »
Bravo Niko!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
nikos
Elxis Community
Hero Member
Posts: 1094
Re: CSS suffix syntax
«
Reply #3 on:
October 02, 2012, 14:59:59 »
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).
Logged
Elxis Community |
Open Source Web Lab
webgift
Elxis Team
Hero Member
Posts: 4193
Re: CSS suffix syntax
«
Reply #4 on:
October 02, 2012, 15:00:59 »
Correct!
Logged
Elxis Team •
Custom web design [EN]
-
[EL]
•
.GR Registrar
datahell
Elxis Team
Hero Member
Posts: 10356
Re: CSS suffix syntax
«
Reply #5 on:
October 02, 2012, 19:14:35 »
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.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Support
»
Elxis 4.x/5.x DEV
»
CSS suffix syntax