已解决,JS with jQuery width(),removeAttr()以避免wordpress内联宽度和高度。还有负利润。
var anchoArticulo = $(\'article.single-post\').width();
$(\'article.single-post div.single-post img.ancho_completo\')
.removeAttr(\'width height\')
.css(\'margin-left\' , -(winWidth - anchoArticulo)/2)
.css(\'width\' , winWidth);
类别
ancho_completo
在仪表板中添加到图像中。