Changing class suffixes for format of postions

More
12 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

Please Log in to join the conversation.

More
12 years 5 months ago #20064 by ivan.milic
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..
}

Please Log in to join the conversation.

Time to create page: 0.157 seconds
Powered by Kunena Forum