● Add Color Font to index.php

Fri Oct 20, 2017 11:23 am
Spammer
113 Posts
Reputation: 335.3
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
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
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
Original Poster
Spammer
113 Posts
Reputation: 335.3
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
Nuke Dev / Coder
3015 Posts
coRpSE
Currently Offline
Offline

Most Played:
This week: 77.7hrs.
Total Played: 195hrs.


  
There is life outside of the game.
Reputation: 7317.9
votes: 7
N/P


 
Forums ©