martedì 18 dicembre 2012

[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.

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); 

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


[Solved] Wordpress + Woocomerce + twentytwelve Layout problem

Nessun commento:

Posta un commento