[Solved] WordPress + Woocomerce + twentytwelve Layout problem

woocommerce logo

If you too managed to make woocommerce works on wordpress using twentytwelve theme, you probably already noticed the messed layout in the shop pages (my right column goes down) as there was a css related problem or a loop into columns wich doesn’t take into account eventually the already present wordpress left column.


Please read on

The solution is really quiet simple and it is also appliable to any theme out there:
you just your function.php file within the theme folder, by addin g a line, the following, to prevent this behavior.
The line to be added right before the php closing “?>” is:

remove_action( 'woocommerce_sidebar', 'woocommerce_get_sidebar', 10);

This should work averywhere this problem is detected. If not, write me, we willl find your solution and i will write another article! 🙂

UPDATE: Please for a better result, take a look also to this article about woocommerce layout and non-ready themes as this should work for any theme (ja, hypothetically).

Let me know if this solved your problem so i can improve this mini guide!


(Visited 5,325 times, 1 visits today)

Author: Giuseppe Urso

Giuseppe lives in Haarlem now with his shiny dog, Filippa In 1982 received his first home computer, a Commodore 64, followed by Datasette and a 1541 Floppy Disk Drive. In 1999 he installed his first Linux distro (LRH6). In 2006 he switched to Debian as favourite OS. Giuseppe Urso actively sustains the Free Software Fundation and his founder Richard Mattew Stallman, he speaks to people trying to convince them to join the fight now, and about how important is to use Free Software only. He has a job as Infra Specialist at Hippo Enterprise Java Cms an Open Source Enterprise class Content Management System, one of the coolest company ever, in Amsterdam. He's always ready to install Debian on other people computers for free.

5 thoughts on “[Solved] WordPress + Woocomerce + twentytwelve Layout problem”

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.