Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am new to WP with little knowledge of code. I am using Twenty Twelve and have managed to create a child theme (minus the header image for some reason). One of my widgets does not fit into the sidebar area so I would like to make it bigger.

share|improve this question

2 Answers 2

Does your child theme have a CSS file? If it does, you can make the change there. If not, you can create a style.css in your child theme, containing the change.

To make the Twenty Twelve sidebar wider, you'll probably need some CSS changes to the following two classes:

.site-content {width:[insert new width here]}
.widget-area {width:[insert new width here]}
share|improve this answer
    
As Otto commented, you'll probably want to keep an eye on the media queries to make sure you're edits work at all resolutions. –  clark Nov 3 '12 at 19:33

The style.css defines the width of the .widget-area as 26.041666667% (for devices that have a minimum width of 600px). You can change this with some custom CSS in either a child theme, or using the "Edit CSS" function in the Jetpack plugin, or in the theme's style.css file directly.

share|improve this answer
    
Many thanks for your help. Do you know how far down the file or specifically which line number this is at? Not usre what a jetpack plugin and am not sure if I have a CSS file in my child theme (really am new to this). I think I will chance making the change directly. –  Sean Montgomery Nov 3 '12 at 20:18
    
Also - if I do increase the width of the sidebar, I presume I will have to reduce the width of the content area - can you confirm which line this is at? Thanks –  Sean Montgomery Nov 3 '12 at 20:20
    
Found the commands - reduced content area and increased widget area but without effect. Any ideas on what I am doing wrong? Thanks –  Sean Montgomery Nov 3 '12 at 20:36
    
What code did you find, where did you find it and what did you modify exactly? Please post the code. –  Brad Dalton May 7 at 7:32

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.