Download & Extend

How do I change the colors of Button player?

Project:Mediafield Display
Version:5.x-1.x-dev
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I know this is not quite related to MediaField_Display, but would greatly appreciate any help.

I've read the info comments in button.inc file regarding changing the button's colors. It is clearly stated that it is possible to set custom colors by altering 'b_bgcolor', 'b_fgcolor' or 'b_colors' parameters. It fells like it is not difficult to do, but I could not find out how to make it work.

Tried to uncomment lines in button.inc, add 'b_fgcolor' => "ff6600", to function audio_button_audio_player(), also tried $options['b_fgcolor'] = 'ff6600' in function theme_audio_button_node_player().

I also tried to uncomment and change color codes in parameters.js, but nothing seems to change the colors when I see the nodes on my test site.

Please help.

Comments

#1

I haven't tried to do this so don't have any useful advice. Others?