Yu-gi-oh! Duel Academy

Welcome to YGODA! If you are a guest please register. If you are an existing member or a new member, please log in into the Chatbox. Thank you.
DMCA
YGODA Menu
Forum Width Adjuster

You are not connected. Please login or register

[punBB] Legends in Wrappers

View previous topic View next topic Go down Message [Page 1 of 1]

#1
s{EXED} Token Gay

s{EXED} Token Gay
Administrator
Hi Very Happy

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

https://ygoda.forumtl.com

#2
Jigglypuff

Jigglypuff
Administrator
Tutorial Approved!

View previous topic View next topic Back to top Message [Page 1 of 1]


Permissions in this forum:
You cannot reply to topics in this forum

Forum Skin Copyright @ Pizza Boi 2014