Posted Mon Apr 28, 2014 7:01 am
Hi
Ever wondered how you can make your forum legends in a wrapper? Well, that goes without saying, of course it can be done via CSS.
Now, here's an easy trick in order to do it: AP < Display < Colors < Stylesheet < Post the code below before saving
But wait, there's the [ and ] thing, right? Well, you can actually use Nth child for that or go in your templates and search for them. For my case, I just used CSS using nth-child property so I cooked up a code like:
Note though: Not all nth-child are consistent in their forums AND old browsers is not supported by it, including IE so the best way to do this is by modifying it in the templates.
Regards,
Pizza Boi
Ever wondered how you can make your forum legends in a wrapper? Well, that goes without saying, of course it can be done via CSS.
Now, here's an easy trick in order to do it: AP < Display < Colors < Stylesheet < Post the code below before saving
- Code:
#onlinelist p b a.gensmall {
background: #551212;
border: 1px solid #A00;
border-radius: 3px;
bottom: 57px;
font-family: Verdana,Arial;
font-size: 10pt;
font-style: normal;
font-weight: 400;
margin-right: 5px;
padding: 3px 6px;
position: relative;
}
But wait, there's the [ and ] thing, right? Well, you can actually use Nth child for that or go in your templates and search for them. For my case, I just used CSS using nth-child property so I cooked up a code like:
- Code:
#onlinelist > p:nth-child(5) {
font-size: 0;
}
Note though: Not all nth-child are consistent in their forums AND old browsers is not supported by it, including IE so the best way to do this is by modifying it in the templates.
Regards,
Pizza Boi