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.

Leave a Reply

error: Content is protected !!
%d bloggers like this: