Theme alignment with sidebars
-
I have reviewed the forums and the “Theme Integration Guide” provided by WooCommerce. still no luck.
I tried the woocommerce_content() function process, and it does return product and category pages, but the alignment is way off, it places the category page below all my other content.
my page.php calls the sidebars first, then the content area.. I put the woocommerce_content() function call in place of my content section that contains the_loop .
<?php get_sidebar(); ?> <div id="contentbox"> <?php if (have_posts()) : ?> ... <?php EndIf; ?>replaced by
<?php get_sidebar(); ?> <div id="contentbox"> <?php woocommerce_content(); ?>no love on category, although product pages seem to be in the middle where i want them, albeit very messy formatting, which I think I can fix once I have the basic pages showing up in the right places.
next I tried using the hooks as indicated:
I get returns, with proper css format, but now ABOVE all my other content and not in the<div id="contentbox">which is the div id I called in the hooks.function my_theme_wrapper_start() { echo '<div id="contentbox">'; } function my_theme_wrapper_end() { echo '</div>';any ideas on how to get the content BETWEEN my sidebars rather than above/below them?
here is a look:
http://my.72hourplan.com/product-category/communication/
The topic ‘Theme alignment with sidebars’ is closed to new replies.