Sim Posted April 29, 2020 Share Posted April 29, 2020 I'm not trying to Google the answer but how can I change the color of text in the template. Font color. Also, how can I use the classes top change the font color like success, info, error, warning.ย ย I bet allot of to all surprised to see me all that with my very extensive knowledge of actually programming itself. ๐ Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted April 29, 2020 Share Posted April 29, 2020 7 hours ago, Sim said: I'm not trying to Google the answer but how can I change the color of text in the template. Font color. Also, how can I use the classes top change the font color like success, info, error, warning.ย ย I bet allot of to all surprised to see me all that with my very extensive knowledge of actually programming itself. ๐ new Hook("alterGlobalTemplate", function ($template) { $template->error = "<strong>ERROR:</strong> <{text}>"; }); You can try the alterGlobalTemplate hook Quote Link to comment Share on other sites More sharing options...
Sim Posted April 29, 2020 Author Share Posted April 29, 2020 I want to change certain text. HTML in general. Not GL. Quote Link to comment Share on other sites More sharing options...
Dave Posted April 29, 2020 Share Posted April 29, 2020 37 minutes ago, Sim said: I want to change certain text. HTML in general. Not GL. You can use inline or style block CSS, unsure if this is what you're after: <span style="color: red;">Red Text!</span> <!-- or --> <style> .red { color: red; } </style> <div class="red">Also Red Text</div> ย 1 Quote Link to comment Share on other sites More sharing options...
Sim Posted April 29, 2020 Author Share Posted April 29, 2020 (edited) Thanks isn't there a way to include it all in one tag? Span๐ Edited April 29, 2020 by Sim Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.