扩展WordPress CSS的边距

时间:2014-10-10 16:24:24

标签: css

我正在使用一个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;
}

1 个答案:

答案 0 :(得分:0)

如果没有更多适当的技术信息(html和css代码),很难知道。 我猜这里你应该在主题目录的style.css文件中查找 entry-content 类,并添加你想要的边距。

如果你在那里找不到类,只需将它添加到css文件的末尾:

.entry-content{
   margin-right:100px;
}