Woocommerce layout broke

  • I don’t know if this is related to any other plugin I have but when I installed RankMath the product list table broke, like this image:

    https://i.imgur.com/4OvWXXa.png

    The other plugin I have that shows content on this list is “Perfect Brands for WooCommerce”.

    Is this related to the plugin (RankMath) or is there any other problem that causes this? I’m coming to this support because this happened after I installed RankMath, before using it the page was normal.

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for getting in touch with us.

    You can reduce the number of columns shown in the list by unchecking some of the not-so-necessary column in the screen options:
    img

    Optionally, you can add the following CSS modification code in your theme function.php to fix the issue.

    add_action('admin_head', 'add_admin_css');
    function add_admin_css() {
    echo '<style>
      .post-type-product div.wrap {overflow-x:scroll; width:98%;}
      .post-type-product table.wp-list-table.fixed{table-layout:auto;}
      .post-type-product table.wp-list-table th#title{min-width:350px;}
      .post-type-product table.wp-list-table th#categories{min-width:150px;}
      </style>';
    }

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.