开发者

how to make sidebar NOT equal to content in WordPress

I want the WordPress sidebars to have a specific height, NOT equal to the content to the post/page. J开发者_如何学JAVAust 400px, for example. I'm working with atahualpa. Which code in which PHP do I have to hack?


If I understand you correctly, you are going to want to edit a relevant CSS file--nothing more.

Figure out which selector is appropriate for the container you want to limit and add the attributes:

height: 400px;
overflow: hidden;

Or overflow: auto; If you want scrollbars to appear.


No php, do it in your theme's css file.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜