Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

It's time for the Midseason 12 Guide Contest! Create or update guides in the following 8 weeks for the chance to win up to $200 in prizes! 🏆
's Forum Avatar

Color Code not Working?

Creator: moon827 December 6, 2017 10:06am
moon827
<Member>
moon827's Forum Avatar
Show more awards
Posts:
149
Joined:
Sep 9th, 2016
Permalink | Quote | PM | +Rep December 6, 2017 10:06am | Report
Im trying to color code my guide, yet the purple color isnt working?

Heres what im trying to do:https://imgur.com/a/9tK3i

Heres what is happening: https://imgur.com/a/23Nv0
Jovy
<Admin>
Jovy's Forum Avatar
Show more awards
Posts:
9558
Joined:
Nov 18th, 2011
Permalink | Quote | PM | +Rep December 6, 2017 10:39am | Report
It's because of the header code I think. Try swapping their places so the header code goes before the colour code. [h2] [color=#etc] text here

by jhoijhoi
Janitsu
<Moderator>
Janitsu's Forum Avatar
Show more awards
Posts:
8827
Joined:
Jul 3rd, 2011
Permalink | Quote | PM | +Rep December 6, 2017 2:43pm | Report
Headers only come in the colour that they are meant to be, I think. You can use [size=6][/size] (I think it's from 1 to 6) to have a similar effect and to change the colour.
The_Nameless_Bard
<Ancient Member>
The_Nameless_Bard's Forum Avatar
Show more awards
Posts:
12983
Joined:
Jan 17th, 2011
Permalink | Quote | PM | +Rep December 7, 2017 3:17am | Report
headers definitely work with colors

my guide coding used to use exclusively headers for the larger text and I could make it any color I wanted

Test


Code:
[color=#844DFA][h2][b]Test[/b][/h2][/color]

works fine here, so it's either a bug with the guide builder or a mistake in the code
Jovy
<Admin>
Jovy's Forum Avatar
Show more awards
Posts:
9558
Joined:
Nov 18th, 2011
Permalink | Quote | PM | +Rep December 7, 2017 5:01am | Report
Janitsu wrote:
Headers only come in the colour that they are meant to be, I think. You can use [size=6][/size] (I think it's from 1 to 6) to have a similar effect and to change the colour.
nah headers can definitely be coloured you just have to have them before the colour code like I said. Only h1 doesn't work, it'll be a goldenish colour no matter what. I agree though that the size code is way better because it's not bolded and it can get a lot larger than the headers. It goes up to 7 though not 6!

She walks in beauty


[h2][color=#00ff00]She walks in beauty[/color][/h2]


She walks in beauty
[size=5][color=#00ff00]She walks in beauty[/color][/size]


that said i have no idea why @ The_Nameless_Bard's header colouring worked, because in all my life it didn't work for me unless it was before the colour code. Maybe it's different in the guide builder?

edit: just tried the same code (this

Test

) in the guide builder and it didn't work, myth busted

credit to Bryun!
moon827
<Member>
moon827's Forum Avatar
Show more awards
Posts:
149
Joined:
Sep 9th, 2016
Permalink | Quote | PM | +Rep December 7, 2017 6:33am | Report
Quoted:
It's because of the header code I think. Try swapping their places so the header code goes before the colour code. [h2] [color=#etc] text here


I got it working. Tysm for the help!

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide