我使用的是 WordPress 托管网站,我主要担心的是页边距不像我希望的那样。我不确定如何表达我的意思,但我会试一试。
这是包含博客文章的主页:
Blog title,
Blog body is this,
continues here... I just
need to increase the right
margin.
同样,它没有像这里显示的那样向右那么多 -- 它甚至被放置了,我只是想延长右边距。那是代码的哪一部分?我应该用代码更新它吗?
更新
是这段代码吗?
}
.entry-content {
overflow: hidden;
zoom:1;
}
/* Sidebar
还是这个?
}
h3, #sidebar, .postdata, .entry-content {
font-family:'helvetica neue', helvetica, arial, sans-serif;
}
最佳答案
如果没有更适当的技术信息(html 和 css 代码),很难知道。 我猜你应该在主题目录的 style.css 文件中寻找 entry-content 类并添加你想要的边距。
如果在那里找不到类,只需将其添加到 css 文件的末尾即可:
.entry-content{
margin-right:100px;
}
关于css - 在 WordPress CSS 上扩展边距,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26303884/