Title: help scale image
Last modified: August 30, 2016

---

# help scale image

 *  [balux](https://wordpress.org/support/users/balux/)
 * (@balux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/help-scale-image/)
 * Hi, I’m trying to scale the images in the homepage using a transform. However
   I would like the image to scale but not exceding the padding of the box. For 
   example, if you go [here](http://francescosoave.com/) and hover on the large 
   image on the right you will see that is scaling over the padding of the white
   box. How can I constrain it to scale but staying behind the padding?
 * this is the code for the white boxes
 * thank you 🙂
 * [Large code excerpt removed by moderator per [forum rules](https://codex.wordpress.org/Forum_Welcome#Posting_Code).
   Please use [the pastebin](http://wordpress.pastebin.com/) for all large code 
   excerpts. It works better anyway.]

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

 *  Thread Starter [balux](https://wordpress.org/support/users/balux/)
 * (@balux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/help-scale-image/#post-6886249)
 * sorry, here’s the code
 * [http://pastebin.com/6rr8NtLK](http://pastebin.com/6rr8NtLK)
 *  Thread Starter [balux](https://wordpress.org/support/users/balux/)
 * (@balux)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/help-scale-image/#post-6886356)
 * So..I created what I need in fiddle but I can’t really make it work in my wp 
   🙁
 * [http://jsfiddle.net/6MDT4/14/](http://jsfiddle.net/6MDT4/14/)

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

The topic ‘help scale image’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [balux](https://wordpress.org/support/users/balux/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/help-scale-image/#post-6886356)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
