[ad_1]
Replies: 4
こんにちは。
ワードプレス記事の画像の高さ指定が、無効になります。
以下の LightningのCSSの important指定によって、
.wp-block-image img:not([style*=object-fit]) {
height: auto!important;
}
以下のスタイル属性で指定した高さ(height:300px)が、
無効になります。
img decoding=”async” src=”https://www.xxxx.net/wp-content/uploads/2023/08/xxxx.png” alt=”xxxx” class=”wp-image-72365″ style=”height:300px” height=”300″
imgタグのstyle属性で、画像の高さを決定できるように
していただけたらと思います。
以下のバージョンを使っています。
WordPress 6.3.1
Lightning 15.10.6
