【发布时间】:2016-08-21 18:00:38
【问题描述】:
我目前正在使用我在 ThemeForest 上购买的 WordPress 主题 Scopic。我正在尝试使内容 div 类的宽度更宽。如果我将#content 的宽度更改为 100%,则没有任何变化,但如果我将宽度更改为 950px,它会变得更宽。唯一的问题是它失去了响应功能。
您可以通过以下地址查看我的网站:https://jordans.io/portfolio/
HTML:
<!-- #content -->
<div id="content" role="main">
<article id="post-198" class="post-198 page type-page status-publish hentry clearfix">
<!-- .hentry-box -->
<div class="hentry-box">
<!-- .entry-wrap -->
<div class="entry-wrap">
<header id="page-header">
<h1 class="page-title">Resume</h1>
</header>
<div class="entry-content clearfix">
...
CSS:
.hentry .hentry-box {
width: 850px;
}
#primary.sidebar-left #content {
float: left;
}
【问题讨论】:
-
原css中的宽度你改了吗?
标签: css wordpress responsive