Add Color Font to index.php

375

Fri Oct 20, 2017 11:23 am
Spammer
114 Posts
Hi Corpse, do you have something that I can follow along in making my font in color in the index.php of my modules?


Ghostwarrior
Fri Oct 20, 2017 1:28 pm
Clan Leader
Top Dog
2600 Posts
not sure if I follow, are you asking how to change the color of a text from within a module? If so, you can do a span with a style and put color in it, like this:

Code: [ Select all ]

<span style="color:#00FF00;">Your Text Here</span> that you want lime green in color


That should have the effect of this:

Your Text Here that you want lime green in color


Hope that helps a little. But if your looking at using that style/color more than in just one spot, then putting it into a css file would be best and add a class to the style. But that is a bit more involved, but not hard.


Expand
Sat Oct 21, 2017 9:40 am
Spammer
114 Posts
Good morning Corpse, and thanks a lot for your valuable time and showing me how to make it.


 
Sat Oct 21, 2017 2:25 pm
Clan Leader
Top Dog
2600 Posts
N/P


 
Forums ©