Upgraded to WordPress 6.0 and have issues? Please check the hotfix which you need to apply.

Okay
  Public Ticket #2424941
mobile layoot
Closed

Comments

  • Curtis Wallis started the conversation

    Trying to get my shop pages it be two column on mobile. I found several css edits but nothing is working.


    https://www.bigmamasmealprep.com/store/

    https://www.bigmamasmealprep.com/product-category/keto-low-carb-meal/

  •  228
    Milingona replied

    Hi Curtis,

    To fix that please modify line 32 of wp-content/themes/bakery/woocommerce/content-product.php with the following code:

    <div class="vu_wc-product-container <?php echo ( isset($woocommerce_loop['name']) && ($woocommerce_loop['name'] == 'related' || $woocommerce_loop['name'] == 'up-sells') ) ? 'col-xs-12' : 'col-tn-6 col-xs-6 col-sm-4 col-md-'. absint( 12 / apply_filters('loop_shop_columns', 4) ); ?>">

    Also, you need to modify line 23 of wp-content/themes/bakery/woocommerce/content-product_cat.php with the following code:

    <div <?php wc_product_cat_class( 'vu_wc-category col-tn-6 col-xs-6 col-sm-4 col-md-'. absint( 12 / apply_filters('loop_shop_columns', 4) ), $category ); ?>

    Kind regards,


    Milingona Support

    Follow on     Envato     Facebook     Twitter