Title: Thumbnail CSS
Last modified: March 1, 2018

---

# Thumbnail CSS

 *  [jotten](https://wordpress.org/support/users/jotten/)
 * (@jotten)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/thumbnail-css-2/)
 * Hey there,
 * We would like to show the thumbnail/logo/featured image with a different size
   than default. I already disabled the thumbnail generation (150×150). But I would
   like to add some custom CSS to show height: auto; width: 190px;.
    This however
   gets overwritten by your default CSS because the height and width have !important.
   The file is located in /wp-store-locator/frontend/class-frontend.php I’m not 
   a fan of this and I don’t see why this should be used.
 * I can simply delete this everytime an update is released. But that wouldn’t have
   my preference.
    Is there a possibility to disable this in an update?
 * With kind regards.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fthumbnail-css-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/thumbnail-css-2/#post-10032335)
 * The !important is there to prevent any random theme from breaking the set image
   format, which would results in me being flooded with support tickets.
 * To change the image format you can use [this](https://wpstorelocator.co/document/wpsl_thumb_size/)
   filter. The code has to go in the functions.php inside your active theme folder.
   Do make sure to clear your browser cache.

Viewing 1 replies (of 1 total)

The topic ‘Thumbnail CSS’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

## Tags

 * [thumbnail](https://wordpress.org/support/topic-tag/thumbnail/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/thumbnail-css-2/#post-10032335)
 * Status: not resolved