How to remove sidebar (right area widget) via css in wordpress with Twenty Twelve theme

With this wordpress theme, you can change page display settings, but you can’t change the display settings for articles.

If you remove the sidebar and select the page display to full screen, you’ll see posts with white space on the right where the sidebar was first.

I found the solution and decided to share it with you because there are not many sites that explain this thing well.

The solution, however, is simple, just insert when customizing the theme, in the CSS section the following code:


.site-content {width: 100%;}

I hope this article was helpful to you. It acknowledges that this method reduces the size to the point that it becomes invisible. You may therefore have display issues using some plugins that are not able to handle the thing.


It's possible to leave a comment as registered users to the site, accessing through social, wordpress account or as anonymous users. If you want to leave a comment as an anonymous user you will be notified by email of a possible response only if you enter the email address (optional). The insertion of any data in the comment fields is totally optional. Whoever decides to insert any data accepts the treatment of these last ones for the inherent purposes of the service that is the answer to the comment and the strictly necessary communications.


Leave a Reply