Decrease
Reset
Increase

JoomlaLMS Learning Management System - Support Forum


Go Back   JoomlaLMS Support Forum > JoomlaLMS > General Questions

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2008, 03:14 PM
smartdesigners smartdesigners is offline
Member
 
Join Date: May 2013
Posts: 85
Default Changing the font colour in certificate

Hi I am looking to change the font colour in the certificate, I have read from a previous thread that you can change this colour in the includes/lms_certificates.php file, but I have changed this and the text is still a light green colour, I don't know where else to change this can you advise.

Here is a screen shot,

Thanks
Attached Images
File Type: jpg fontcolor.jpg (9.1 KB, 8 views)
Reply With Quote
  #2  
Old 03-04-2008, 04:12 PM
den den is offline
developer
 
Join Date: Dec 2006
Posts: 2,510
Default

Try to change the color palette (to 32 bit) of the certificate image and reupload it again.

Maybe your image has very simple color-map (text forced to use color only from palette) , try to use full-color images.

Last edited by den; 03-04-2008 at 04:19 PM.
Reply With Quote
  #3  
Old 03-04-2008, 04:26 PM
smartdesigners smartdesigners is offline
Member
 
Join Date: May 2013
Posts: 85
Default

your a genius thanks that fixed it
Reply With Quote
  #4  
Old 08-07-2011, 11:39 AM
WoSko WoSko is offline
Junior Member
 
Join Date: May 2011
Location: Bolton UK
Posts: 9
Default

Quote:
Originally Posted by smartdesigners View Post
change this colour in the includes/lms_certificates.php
Can you tell me how you did it? What exactly did you change in this php script?

Thanks for help,
WoSko
Reply With Quote
  #5  
Old 08-09-2011, 07:38 AM
Helga_13 Helga_13 is offline
JoomlaLMS Support Team
 
Join Date: May 2010
Posts: 856
Default

All the texts on our certificates are printed using black color, you can change the color by modifying the following code on line 1106 of the 'lms_certificates.php' file:

$black = imagecolorallocate($im, 0, 0, 0);

To change the color you need to edit the last 3 parameters of the imagecolorallocate functions, these parameters represent the color value using RGB color scheme. In order to determine RGB code of required color - please try googling for something like 'RGB color chart'.
Reply With Quote
  #6  
Old 08-09-2011, 04:54 PM
WoSko WoSko is offline
Junior Member
 
Join Date: May 2011
Location: Bolton UK
Posts: 9
Default

Thank you very much for information. I have changed it.
Working very good.
Thank again,
WoSko
www.englishforus.eu
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 01:27 PM.

RSS