Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Henk28

    (@henk28)

    Michael,
    I added jigoshop into the functions.php like this:

    // Add jigoshop wrap
    function mytheme_open_jigoshop_content_wrappers()
    {
    echo ‘<div class=”clearfix”><div id=”wrap” class=”primary>’;
    }

    function mytheme_close_jigoshop_content_wrappers()
    {
    echo ‘</div></div>’;
    }

    function mytheme_prepare_jigoshop_wrappers()
    {
    remove_action( ‘jigoshop_before_main_content’, ‘jigoshop_output_content_wrapper’, 10 );
    remove_action( ‘jigoshop_after_main_content’, ‘jigoshop_output_content_wrapper_end’, 10);
    add_action( ‘jigoshop_before_main_content’, ‘my_theme_wrapper_start’, 10);
    add_action( ‘jigoshop_after_main_content’, ‘my_theme_wrapper_end’, 10);

    }
    add_action( ‘wp_head’, ‘mytheme_prepare_jigoshop_wrappers’ );

    Now the background became white but the sidebar moved beneath the footer.

    Because you donot need the sidebar in the shop I changed the jigoshop_template_actions.php like this:

    add_action(‘jigoshop_sidebar’, ‘jigoshop_get_sidebar’, 10);
    to
    remove_action(‘jigoshop_sidebar’, ‘jigoshop_get_sidebar’, 10);

    Now everything is fine.

    Thread Starter Henk28

    (@henk28)

    Anyone a solution?

    Thread Starter Henk28

    (@henk28)

    Off course. Here the website: http://www.rostohar.nl/?post_type=product

    No, the sidebar doesnot drop under the maincontent. Bet the gray color is under the sidebar too. You will see.

Viewing 3 replies - 1 through 3 (of 3 total)