html - 使我的图像全宽

标签 html css wordpress

如何在我的 CSS 中编辑它

.container, .navbar-static-top .container, .navbar-fixed-top .container,     .navbar-fixed-bottom .container {
  width: 1170px;
}

网址是http://insightcxo.com/test-2

我想使图像全宽或 1230px

这是我在编辑器中的代码

.page-id-731 .container {
width: 1230px;
}

谢谢!

最佳答案

Img { 宽度:100%;最大宽度:100%; } 应该适合你。

关于html - 使我的图像全宽,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31329887/

相关文章:

html - 用于 C++ 游戏的精美交互式 GUI

html - Bootstrap 弹出窗口中的自定义圆形复选框

javascript - jQuery 切换在 IE 中不起作用

html - 将 Bootstrap 网格系统添加到 HTML5

javascript - 如何停止 Canvas 中的动画?

css - 如何垂直对齐 Twitter Bootstrap 中的进度条?

php - 使用 PHP 更新表格会覆盖 CSS 格式

css - 带 flexbox 的垂直居中 div

php - WordPress 查询 - 获取两个 (2) 类别中的帖子

php - Woocommerce 列出所有以前订购的产品