pablo
pablo

Reputation: 1

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. Just 400px, for example. I'm working with atahualpa. Which code in which PHP do I have to hack?

Upvotes: 0

Views: 327

Answers (2)

Fletcher Moore
Fletcher Moore

Reputation: 13804

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.

Upvotes: 2

hollsk
hollsk

Reputation: 3137

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

Upvotes: 0

Related Questions