Here is the CSS code I used for images:
img {
border: none;
max-width: 100%;
height: auto !important
}
To override specific image styles, I added this at the bottom:
.locals-list>img {
height: 35px;
}
Below is the HTML code I am working with:
<div class="eas-footer">
<div class="wrap cfx">
<h6 class="know-your-city" style="text-align: center;">Supported by</h6>
<div class="locals-list">
<a href="http://www.indonesia.travel" target="_blank"><img src="http://cdn.goasean.com/assets/content/sponsors/_normal/logo_wonderful_indonesia_2014.png" alt="{title}" data-pin-nopin="true"></a>
</div>
</div>
</div>
However, I have encountered an issue where the new height changes are not being applied, and the height remains as auto !important
. Can someone please assist? Thank you!