I have a Wordpress website. In theme, I need to customize the height
of a single div
of class image_wrapper
, but when I make the change, this reflects in the other divs
of the same class scattered around the theme.
How can I set height
in this case, without the other divs
suffering the change?
The% w / w that I need to customize is contained in this other:
<div class="image_frame scale-with-grid product-loop-thumb">
<div class="image_wrapper">
<a href=""></a>
</div>
</div>
div.image_wrapper {
height: 192px; }
When I use the above CSS, other% of the same class of% are changed, like the following:
<div class="image_wrapper"><img class="scale-with-grid" src="" alt=""></div>
How can it be solved? I could not use the specificity in this case.