Quantcast
Channel: WordPress.org Forums » [WooCommerce] Support
Viewing all articles
Browse latest Browse all 104029

imtylerporter on "[Plugin: WooCommerce - excelling eCommerce] Sidebar sitting below content on product page."

$
0
0

I am using the Lucid Theme from elegantthemes.com .

After installing woocommerce to my theme my sidebar dropped into my footer. With a little research I was able to use hooks to raise my side bar back into the proper space. However, the styling in my footer is now not showing properly. This is the code I placed into my functions.php file:

remove_action( 'woocommerce_before_main_content', 'woocommerce_output_content_wrapper', 10);
remove_action( 'woocommerce_after_main_content', 'woocommerce_output_content_wrapper_end', 10);

add_action('woocommerce_before_main_content', create_function('', 'echo "<div id=\"main-area\">";'), 10);

add_action('woocommerce_before_main_content', create_function('', 'echo "<div class=\"container\">";'), 10);

add_action('woocommerce_before_main_content', create_function('', 'echo "<div id=\"content-area\">";'), 10);

add_action('woocommerce_before_main_content', create_function('', 'echo "<div class=\"clearfix\">";'), 10);

add_action('woocommerce_before_main_content', create_function('', 'echo "<div id=\"left-area\">";'), 10);

add_action('woocommerce_after_main_content', create_function('', 'echo "</div>";'), 10);

With this code the page is still showing a little screwy.

Here is how it should look:
http://www.iputtheforkdown.com/about

Here is how the shop page looks now with the messed up footer:
http://www.iputtheforkdown.com/shop

Any help is greatly appreciated!

http://wordpress.org/extend/plugins/woocommerce/


Viewing all articles
Browse latest Browse all 104029

Trending Articles