Henk28
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Air Balloon Lite] Dark gray product pages in JigoshopMichael,
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.
Forum: Themes and Templates
In reply to: [Air Balloon Lite] Dark gray product pages in JigoshopAnyone a solution?
Forum: Themes and Templates
In reply to: [Air Balloon Lite] Dark gray product pages in JigoshopOff 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.