Home › Forums › Add-ons › Repeater Field › Limit image height in a repeater page › Reply To: Limit image height in a repeater page
You need to do this with CSS, how you would do so given what you’ve shared I can’t say
.selector img {
height: 100%;
width: auto;
}
That would limit the image to the height of its container, alternately you could limit the image itself
.selector img {
max-height: 150px;
width: auto;
}
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.