Title: Thumbnails slightly squeezed when hover
Last modified: August 30, 2016

---

# Thumbnails slightly squeezed when hover

 *  [horace524](https://wordpress.org/support/users/horace524/)
 * (@horace524)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-slightly-squeezed-when-hover/)
 * I made my thumbnails scale up and dim when hover using css, but I noticed that
   when the browser window is larger than certain size, the hovered will image squeeze
   to left a bit which exposed the black background behind, than it will scale up
   and dim as usual. That squeezing is quite subtle but still annoying. Any idea
   whay is causing it and how to fix it?
 * Here is the link to my web:
    [hndesign.co](http://hndesign.co)

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

 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-slightly-squeezed-when-hover/#post-6595457)
 * Add this code to your child theme style.css will disable that behavior.
 *     ```
       /*** Disable theme's transform image on hover ***/
       body .gallery-image *:hover { transform: none; }
       ```
   
 *  Thread Starter [horace524](https://wordpress.org/support/users/horace524/)
 * (@horace524)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-slightly-squeezed-when-hover/#post-6595490)
 * Thanks for the reply Paul. However your codes will disable the scale up effect
   as well. Is there anyway to keep that but remove the squeeze problem?
 *  [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * (@paulwp)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-slightly-squeezed-when-hover/#post-6595524)
 * Hi, there is no ‘image squeeze to left a bit’ from my end. I’m using FF, Chrome,
   Edge, all latest on Windows 10. What browser you are using? ’cause this might
   be browser compat issue as the transform property might not work properly in 
   some old browser.

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

The topic ‘Thumbnails slightly squeezed when hover’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [paulwpxp](https://wordpress.org/support/users/paulwp/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/thumbnails-slightly-squeezed-when-hover/#post-6595524)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
