Site logo

Archived topic

Checkout column squashed with Toolset Types 3.3.10 activated

9 replies · Started by _blank on March 4, 2020

Viewing posts 1–10 of 10

Hi

For some reason the first column at checkout is squashed.
I've tried deactivated every plugin and it seems to be Toolset Types 3.3.10
Can you think of a reason why?

I'll contact Toolset support too.

Thanks
Scott

Hi leo,

Please take a look now.
Sorry I had Toolset Types deactivated.

Thanks
Scott

I feel like this is something Toolset's support would have to look at first.

Are you able to check if the issue occurs when using a twenty series WP theme?

Morning Leo,

It is a conflict between Woocommerce and Bootstrap 4, see similar woocommerce ticket:
https://github.com/woocommerce/woocommerce/issues/15793

There is a workaround or turning off "This site is not using Bootstrap CSS"
Dashboard-> Toolset-> General,

In the end I've actually removed Toolset and not using custom post types for this site.

Thanks
Scott

Thanks for reporting back!

I don't mean to "butt in" on this topic, but I had this same issue. You can actually use this function to DeQue the bootstrap css pages you need. I use it on my pages that need to use the css boostrap for my toolset designs. In this code I'm using it on my Twitch Channels and Youtube Gallery pages.

//DeQue Bootstrap Except Twitch Channels
function dequeue_bootstrap_except_twitch_channels(){
  // a comma-separated list of post type slugs where you want to include Bootstrap
  $cpts = array( 'twitch-channel','twitch-channels', 'tow-youtube-video', 'tow-youtube-gallery' );
  if ( !in_array( get_post_type() , $cpts) && !is_admin()  ) {
  
    // dequeue Bootstrap CSS
    function dequeue_bootstrap_css(){
      wp_dequeue_style( 'toolset_bootstrap_4' );
      wp_dequeue_style( 'toolset_bootstrap_styles' );
    }
    add_action( 'wp_print_styles', 'dequeue_bootstrap_css' );
  
    // dequeue Bootstrap JS
    function dequeue_bootstrap_js(){
      wp_dequeue_script( 'toolset_bootstrap_4' );
      wp_dequeue_script( 'toolset_bootstrap' );
    }
    add_action( 'wp_print_scripts', 'dequeue_bootstrap_js');
  
  }
  
}
add_action( 'wp_enqueue_scripts', 'dequeue_bootstrap_except_twitch_channels', 100 );

Thanks for sharing!

This archived topic is closed to new replies.