开发者

how to make sidebar NOT equal to content in WordPress

开发者 https://www.devze.com 2022-12-31 14:45 出处:网络
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.

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

精彩评论

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