Any wordpress guru around here?

Status
Not open for further replies.

Rockstar

Active Member
507
2008
51
0
Well i just need to know how can i edit custom field image size according to my requirement.

Whenever i use custom field to create thumbnails, images gets cropped to 580x80 size.

So any help here?
 
2 comments
General:
img {
max-width: 580px;
height: auto;
}

By class:

.thumbnails {
max-width: 120px;
height: 120px; /* You can set it auto */
padding: 10px; /* to add 10px space on top, right, bottom, left */
}

usage: <img class="thumbnails" src="myphoto.jpg">
 
Last edited:
Status
Not open for further replies.
Back
Top