Title: SVG Admin Interface &#8211; Fix Bug
Last modified: August 31, 2016

---

# SVG Admin Interface – Fix Bug

 *  [Neil](https://wordpress.org/support/users/encrypt1on/)
 * (@encrypt1on)
 * [10 years ago](https://wordpress.org/support/topic/svg-admin-interface-fix-bug/)
 * Hi Support,
 * I have noticed that this is bug ([https://core.trac.wordpress.org/ticket/26256](https://core.trac.wordpress.org/ticket/26256))
   has been long awaited for a fix.
 * Can a workaround be used in your plugin? The image that gets outputted needs 
   the height and width striped or css to force width at 100%.
 * I have put in a temp measure, using CSS. However I think the former option above
   would be a great addition to the plugin!
 * — EDIT (CSS Solution)
 * > A featured image with a file extension ending in `.svg`, will become full width
   > in wp-admin.
 *     ```
       add_action('admin_head', 'project_admin_custom_css');
   
       function project_admin_custom_css() {
         echo '<style>
           #postimagediv .inside img[src$=".svg"] {
             width: 100%;
           }
         </style>';
       }
       ```
   
 * Many thanks,
 * Neil
 * [https://wordpress.org/plugins/enhanced-media-library/](https://wordpress.org/plugins/enhanced-media-library/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [webbistro](https://wordpress.org/support/users/webbistro/)
 * (@webbistro)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/svg-admin-interface-fix-bug/#post-7382881)
 * Hi Neil,
 * Sorry for delay with the response! And thank you for your suggestion! Most likely
   we will add the fix to the next release (we just have to test it).
 * Best,
    -Nadia

Viewing 1 replies (of 1 total)

The topic ‘SVG Admin Interface – Fix Bug’ is closed to new replies.

 * ![](https://ps.w.org/enhanced-media-library/assets/icon-256x256.png?rev=980107)
 * [Enhanced Media Library](https://wordpress.org/plugins/enhanced-media-library/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/enhanced-media-library/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/enhanced-media-library/)
 * [Active Topics](https://wordpress.org/support/plugin/enhanced-media-library/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/enhanced-media-library/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/enhanced-media-library/reviews/)

## Tags

 * [svg](https://wordpress.org/support/topic-tag/svg/)
 * [UX](https://wordpress.org/support/topic-tag/ux/)
 * [wordpress admin](https://wordpress.org/support/topic-tag/wordpress-admin/)

 * 1 reply
 * 2 participants
 * Last reply from: [webbistro](https://wordpress.org/support/users/webbistro/)
 * Last activity: [9 years, 12 months ago](https://wordpress.org/support/topic/svg-admin-interface-fix-bug/#post-7382881)
 * Status: not resolved