0
我使用Photoswipe Masonry Gallery插件(WP),但當圖像被雙擊或縮放時,它們會變形。 雙擊或縮放時燈箱圖像會變形
任何想法是什麼造成這種情況?這不是一個插件問題,因爲它切換到Twenty Fifteen主題時可以很好地工作。僅供參考,我使用<meta name="viewport" content="width=device-width">
。我正在使用下面的CSS中的任何可疑內容?
@media screen and (max-width: 700px) {
/* basics */
#content,
#sidebar,
.endbar_left,
.endbar_right {
float: none;
width: 100%;
}
#content {
margin-left: 0%;
padding-left: 0%;
padding-top: 20px;
}
html,
body {
width: auto !important;
overflow-x: hidden !important;
}
img {
border: none;
max-width: 100%;
height: auto;
}
#header {
padding-bottom: 0 !important;
}
/* posts */
.inside2 {
padding: 0 10px 10px 10px;
}
.post {
padding-right: 3px;
}
.pics_article {
float: none;
margin-left: 0;
}
}
非常感謝您的幫助。僅供參考,我不是Web開發人員。有人有好的HTML/CSS知識。謝謝!
謝謝@ pierre-lebon的編輯。對不起,我這裏很新... – Joey