- Posts: 26
- Thank you received: 0
Changing class suffixes for format of postions
-
marknissan@gmail.com
Inactive member -
Topic Author
- Offline
- Member
-
Less
More
13 years 5 months ago #20052
by marknissan@gmail.com
Can changing the class suffix (like in the positions advert 1~4) change the formatting of other positions (user 1~16).
If so where can I find the way to do it?
Cheers
Mark
If so where can I find the way to do it?
Cheers
Mark
Please Log in to join the conversation.
-
ivan.milic
Support Staff -
- Offline
- Moderator
-
Less
More
- Posts: 14116
- Thank you received: 1639
13 years 5 months ago #20064
by ivan.milic
Replied by ivan.milic on topic Changing class suffixes for format of postions
when you add suffix that gets concatenated to module class:
<div class="moduletablesuffix" ...
so you use trick not to interfear with original styling you add suffix with blank char as first letter like :
" red"
so you get:
<div class="moduletable red" ...
later in css you style your .red class:
.red{
.. css properties...
}
and add !important to override any default styling if needed:
.red{
background:#FF0000!important;
.. other css properties..
}
also for example to style some title in module use:
.red H2{
..css properties for h2 title..
}
<div class="moduletablesuffix" ...
so you use trick not to interfear with original styling you add suffix with blank char as first letter like :
" red"
so you get:
<div class="moduletable red" ...
later in css you style your .red class:
.red{
.. css properties...
}
and add !important to override any default styling if needed:
.red{
background:#FF0000!important;
.. other css properties..
}
also for example to style some title in module use:
.red H2{
..css properties for h2 title..
}
Please Log in to join the conversation.
Time to create page: 0.297 seconds