Title: plugin adds img !important style
Last modified: December 1, 2016

---

# plugin adds img !important style

 *  Resolved [Joost](https://wordpress.org/support/users/jberculo/)
 * (@jberculo)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/plugin-adds-img-important-style/)
 * Hi,
 * I am having some problems with images not aligning while rescaling the site. 
   This is due to the wp-content/plugins/google-maps-bank/frontend/view.php file,
   in which on line 98 it says:
 *     ```
       img
       {
               max-width:none!important;
       }
       ```
   
 * This obviously applies to all images on the site, and due to the !important, 
   it can’t be overwritten. It has some nasty effects on my site. For now I added
   the map_canvas_class before the tag, but could this be fixed in a next release?
 * That being said, I like your plugin a lot. Especially the option to add custom
   markers is rarely found in maps plugins.
 * Regards,
    Joost.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * (@contact-banker)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/plugin-adds-img-important-style/#post-9241069)
 * Hi,
 * This has been fixed in the latest release.
 * Please upgrade to 2.0.6
 * Thanks
 * Support Team
    Tech Banker

Viewing 1 replies (of 1 total)

The topic ‘plugin adds img !important style’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-maps-bank_84b53d.svg)
 * [Google Maps Bank: WP Google Maps Plugin](https://wordpress.org/plugins/google-maps-bank/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-maps-bank/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-maps-bank/)
 * [Active Topics](https://wordpress.org/support/plugin/google-maps-bank/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-maps-bank/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-maps-bank/reviews/)

## Tags

 * [!important](https://wordpress.org/support/topic-tag/important/)
 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [Varun Sharma](https://wordpress.org/support/users/contact-banker/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/plugin-adds-img-important-style/#post-9241069)
 * Status: resolved