안녕하세요, 하우스 애드(house ad)를 사용 중인데 비율이 매우 이상합니다.
CSS를 수정하여 이를 변경해 보았습니다:
.house-creative.house-post-bottom {
a.between-posts-ad {
max-height: 1672px;
img {
&.desktop {
height: 172px;
display: block;
}
&.mobile {
height: 172px;
display: none;
}
}
}
}
그리고 제 애드 HTML은 다음과 같습니다: (태그를 올바르게 닫는 방법은 알고 있으며, 여기에서 코드가 표시되도록 일부러 '>'를 제거했습니다)
<
a href="xxxx" class="banner-ad" target="_blank">
img class="desktop" src="xxx" style="xxxx" height="172" width="172">
img class="mobile" src="xxx" style="xxxx" height="172" width="172">
</a>
보시다시피, 이는 제가 원했던 대로 폭이 172px가 되게 하지만, 높이는 제가 설정한 값이 아닙니다.
무엇이 잘못되었는지 설명해 주실 수 있는 분 계신가요?
