A Somewhat Extensive Guide to BBCodes
Forum Index > PokéFarm > Guides >
QUOTE originally posted by eclipsedmoon
This may ultimately be so silly but I am not very good with code, it's one of those things that kind of makes my brain hurt whenever i try to learn, but i have a question regarding background and font colors :
I am currently using the [background=] to choose the posts background color while i work on my journal and that part is working fine, but i am having trouble getting the font color to change. I am using the [color=] which from my understanding is the one related to things regarding the text. Does the order matter for these to work? This is the order I have the different codes placed, does this need to be adjusted to get the text color to change? :
example (yay i can make these now
[ font ][ size ][ background ][ color ]
example with times new roman, size 16, red background, and white color
code
[font=times new roman][size=16][background=red][color=white]example[/color][/background][/size][/font]
- 🪪
- 📋
- 🔗
sapphire/they/23
Tournament Token (Ruby)
Event Item
(: 0)
[LEGACY] A token earned from Weekly Tournaments Season 10 but it is too old to be valid.
Legacy items are old items that no longer serve a purpose and are only good for collecting.
Sells for 10,000
Likes:
Dry food
MAX
Quiet nature
560 eggs
Score: 0
credits
credits
- Code @Neonyan
- Pkmnpanel @Mirzam+modified by @Neonyan
- Background+Tab Icons @Pokemon
- Pagedoll @pkspsapphire
- TR code LycanKai+Hakano Riku
Can you post the entire broken code in a hide like that using [ nobbcode ] tags?
My personal preference when you start stacking that many tags, is to just switch to CSS instead. So it would go something like:
Code
[sc=myjournal]This is some text ... [url=https://pokefarm.com/party]Link[/url][/sc]
[style]
// your custom CSS class, to hold the rest
.myjournal {
padding: 10px; // push text away from edge
background-color: #000099; // bg color
color: white; // text color
font-family: serif; // font: use web-safe or import
font-size: 14pt; // pt is better than px usually
a {
color: yellow; // link color;
}
}
[/style]
This is some text ... Link
I find it's more concise, works better, easier to read, handles links better. But I can understand if it's confusing. I can try to talk more about it if you like.QUOTE originally posted by pkspsapphire
i don't know what could be wrong about this since testing it myself it worked out, maybe it's the order in which you placed the closing tags?
example with times new roman, size 16, red background, and white color
code
[font=times new roman][size=16][background=red][color=white]example[/color][/background][/size][/font]
I'm trying to get the table bbcode to be in the center instead of on the right or left is there any way to do that? I have tried using the Alignment bbcode but it didn't change anything.
Avatar made by Aero.
Top Favorite Pokémon:
My Shop
QUOTE originally posted by Aero
I'm trying to get the table bbcode to be in the center instead of on the right or left is there any way to do that? I have tried using the Alignment bbcode but it didn't change anything.
Header 1 | Header 2 | Header 3 |
---|---|---|
cell 1 | cell 2 | cell 3 |
cell 4 | cell 5 | cell 6 |
I'm aware that there is very likely something incredibly simple that I'm overlooking with them--but self-updating progress bars, how does one get the correct number of an item to show up in the bar? For example!
I have 1719 out of 2100 Flying Gems in my Wishforge Progress bar, and so 1719 Flying gems also in my inventory. How do I get the code for the self-updating progress bar to reflect this? When I enter the number 1719/2100 in the code, the progress bar then shows up as 1343 gems/2100, which is inaccurate. What am I doing wrong? D=
(Thank you for your time if you happen to read this and reply!)
Avatar credit AmphyPop on Picrew! https://picrew.me/en/image_maker/338224 (Please use descretion when opening the link!)
QUOTE originally posted by AshePhoenix
I'm aware that there is very likely something incredibly simple that I'm overlooking with them--but self-updating progress bars, how does one get the correct number of an item to show up in the bar? For example!
I have 1719 out of 2100 Flying Gems in my Wishforge Progress bar, and so 1719 Flying gems also in my inventory. How do I get the code for the self-updating progress bar to reflect this? When I enter the number 1719/2100 in the code, the progress bar then shows up as 1343 gems/2100, which is inaccurate. What am I doing wrong? D=
(Thank you for your time if you happen to read this and reply!)
How would I put where my shiny chain is at? Sorry if I missed it!
Koi | Rockruff Hoarder | Minor
Tired Infinitely; What's sleep?
Pokeheroes Scratch.credits
credits
Code @RAINB0W
Forum Icon @Silver Raven!!
Signature Pagedoll @Lilieth!
Rockruff sprite (pfq sprite,
recolored by Sedona!!
Permission to edit/recolor sprite+embed
two sprites in one image:here.
QUOTE originally posted by Chiro
How would I put where my shiny chain is at? Sorry if I missed it!
my avatar is a picture of my dog Tika, taken my me :)
check out my dexing service! *
image made by me. shiny, albino, mega, and totem sticker from PFQ
0
click the counter to go to my profile and get your own! 17 TR types available
QUOTE originally posted by skypony101
QUOTE originally posted by Chiro
How would I put where my shiny chain is at? Sorry if I missed it!
Cannot post: Please log in to post