Here’s a fix for the issue you are experiencing between Handsome Checkout and WooCommerce Shop as Customer (by cxThemes) plugins:
First, add this code to functions.php of your theme:
1 2 3 4 5 6 7 8 | function bf_keep_my_style( $excluded_styles ) { $excluded_styles[] = 'woocommerce-shop-as-customer'; $excluded_styles[] = 'woocommerce-shop-as-customer-select-2-style'; return $excluded_styles; } add_filter( 'gb_hcc_preserve_styles', 'bf_keep_my_style' ); |
This snippet will make Handsome Checkout stop clearing out the stylesheets of Shop as Customer plugin.
Second. You need to add this little snippet to your WP Admin > Handsome Checkout > Settings > Custom CSS field:
1 | .wc_hcc_hide { display: block; } |
That’s it.
After these 2 steps Shop as Customer buttons and top bar will look like they are displayed on the other pages of your site.
Cheers 🙂