• Resolved Henk28

    (@henk28)


    I am using theme Air Ballon Lite and Jigoshop. The productpage of Jigoshop and the single product pages show a dark grey background.
    Is it possible to change that into a white background anywhere?
    Using theme Twenty Fourteen I have a white background and everything looks normal.

Viewing 6 replies - 1 through 6 (of 6 total)
  • May we view the site to see the issue? Did the sidebar (widget area) drop under main content?

    Thread Starter Henk28

    (@henk28)

    Off course. Here the website: https://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.

    Thread Starter Henk28

    (@henk28)

    Anyone a solution?

    It is an issue with your theme. It is improperly wrapped for Jigoshop.

    This should help: https://www.jigoshop.com/documentation/wrap-themes-content-jigoshop/

    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.

    Great News! Good Job!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Dark gray product pages in Jigoshop’ is closed to new replies.