Site Skins: How-To, and Helpful CSS
Forum Index > PokéFarm > Guides >
Please, link to it whenever, it's in my journal so people can use it :)
(I just don't really want to maintain a full guide myself tbh)
Hey how would I center this
by LycanKai I feel like I've tried everything!
Score: 0
*pfp made by me & spinda is from official art*
Ren ❂ ×1,945 ❂ She/Her
@justanobody2275,
So, the display of the background is set to "table." The issue with that is you can't center tables if their width is set to width:100%;.
I've gone through the CSS and instead replaced the width with the width of the image itself. Now it can be centered with margin: 0 auto;.
Here are the results, and the code:
Score: 0
Altered CSS:
[css=background-image: url("https://pokefarm.com/upload/LycanKai/TypeRace/Badges/Badge_Fighting.png");width:211px;height:70px;background-repeat:no-repeat;display:table;margin: 0 auto;][css=vertical-align:middle;display:table-cell;padding-left:75px;color:black;font-weight:bold;]Score: [inventory=typerace][/css][/css]
Avatar is official Pokémon TCG artwork illustrated by TOKIYA.
QUOTE originally posted by Sakaki
hi! ive been wondering, is there a way to set your trainer to any image using site skins? the customisation options are, well... limited, and i would love if i could just draw a character to have on my profile instead, even if it is just me who will see it.
Yeah, I believe the PFQ mod Gumshoe has their trainer sprite modifed to an image that only they can see which is really cool... the only problem is that the person they credited the code to (DrWho) seems to have quit PFQ...
PFP from BanG Dream! Girls Band Party; edited by girl's code
The main trouble with the trainer image replacement is: I'm not sure of a good way to detect whose profile you're on with CSS alone. You could do it with a userscript, or you could use a CSS extension like Stylus, and set it to only be enabled on your profile page. Either way wouldn't work well if you use multiple devices, since it wouldn't be in your skin... but if you're interested, I could explain a little more - the Stylus method would be the simplest.
hello!!
I didn't see anything that said how to change the font for skins, is that possible?
like how i can go do that and change the font and stuff?
i've been trying but to no avail
- AVATAR CREDIT
- Favorite Pkmn
╔═.✾. ═════════════════════╗
║drawn by dudebro1657 my beloved <33/p║
╚═════════════════════.✾. ═╝
Sableye, Dracovish, Gastly, Haunter, Gengar
QUOTE originally posted by aBSoLuTe CLoWN
hello!!
I didn't see anything that said how to change the font for skins, is that possible?
like how i can go do that and change the font and stuff?
i've been trying but to no avail
QUOTE originally posted by KishanHaru
QUOTE originally posted by aBSoLuTe CLoWN
hello!!
I didn't see anything that said how to change the font for skins, is that possible?
like how i can go do that and change the font and stuff?
i've been trying but to no avail
Cannot post: Please log in to post