Title: Improve styling (my hack)
Last modified: August 20, 2016

---

# Improve styling (my hack)

 *  Resolved [chrishe](https://wordpress.org/support/users/chrishe/)
 * (@chrishe)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/improve-styling-my-hack/)
 * Hi aueda,
    I have just installed this plugin with WP3.5.1 and it seems to work
   for me. One small thing – On the Edit Post Page there is the WP “Add Media” button,
   followed by your link “Media Selector” as text . It’s nicer to make it a button.
   I have a short HACK which does this for you: in public function onMediaButtons()
   comment out 1 line, add the two below:
 *     ```
       //		echo '<a href="' . $iframe . $option . '" class="thickbox" title="' . $title . '"><img src="' . $button . '" alt="' . $title . '" /></a>';
       		echo ' <a href="' . $iframe . $option . '" class="wp-media-buttons button add_media thickbox" title="' . $title . '">';
       		echo '<span class="wp-media-buttons-icon" ></span><span  style="background-color:#cfc;"> &nbsp;&nbsp;'.$title.'&nbsp;&nbsp; </a> </span></span>';
       ```
   
 * That also colors the button text, which is not necessary of course!
    Secondly,
   in English I think it may be better to change the title of the popup from “Insert
   a Media” to “Choose Media” (because one must actually insert the media using 
   the button below the options at the bottom of the window) A little hack for that:
 *     ```
       function onModifyMediaTab( $tabs )
       	{
       	 //my hack!
       		// return array( "mrlMS" => "Insert a media" );
       		return array( "mrlMS" => "Choose Media" );
       	}
       ```
   
 * I hope you find that helpful. I appreciate that your natural language is not 
   English, but please note that your comment lines /** comment etc do not display
   with code page latin 1. (The code is ok tho!)
    Best Regards Chris (UK)
 * [http://wordpress.org/extend/plugins/media-file-manager/](http://wordpress.org/extend/plugins/media-file-manager/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [aueda](https://wordpress.org/support/users/aueda/)
 * (@aueda)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/improve-styling-my-hack/#post-3479377)
 * Hi Chris,
    I’ll merge your hacks in the next release. I appreciate your help.
 *  Thread Starter [chrishe](https://wordpress.org/support/users/chrishe/)
 * (@chrishe)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/improve-styling-my-hack/#post-3479427)
 * Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Improve styling (my hack)’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/media-file-manager.svg)
 * [Media File Manager](https://wordpress.org/plugins/media-file-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/media-file-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/media-file-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/media-file-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/media-file-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/media-file-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [chrishe](https://wordpress.org/support/users/chrishe/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/improve-styling-my-hack/#post-3479427)
 * Status: resolved