我使用的是Wordpress Twenty Twelve主题中的小孩,当我缩小屏幕时,图像不会调整大小。我遇到的页面是:图像没有调整响应式设计大小
http://69.195.124.68/~discowv9/?page_id=146
如果缩小屏幕的宽度,您将看到图像不会改变大小。通常,WP中的这个主题会自动调整图像大小。我似乎无法找到不允许调整大小的CSS代码。
非常感谢您的帮助。
我试图张贴屏幕截图,但我的声望不够高。这是高尔夫球杆手柄拍摄前后的图像。
<div style="white-space:nowrap;"><img class="wp-image-438 alignleft" src="http://69.195.124.68/~discowv9/wp-content/uploads/2013/04/Cleaning-Process-of-Club-Grip.jpg" alt="Cleaning a Golf Club Grip with Club Care" style="line-height: 1.714285714; font-size: 1rem;"></img></div>
.entry-content img, .comment-content img, .widget img {
max-width: 100%;
}
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
height: auto;
}
img.size-full, img.size-large, img.header-image, img.wp-post-image {
height: auto;
max-width: 100%;
}
你是什么意思? – Lemurr 2013-04-04 02:12:47
将相关代码添加到问题将有所帮助。突出显示问题区域的截图也会有所帮助。 – 2013-04-04 02:19:17
添加代码。希望能帮助到你。 – MattM 2013-04-04 04:31:03