How can align the products on the category page?
-
Hi, how can align the products on the category page?
When products have a longer title
or they are variations products with filters are visualized with different heights .
Attachments:
You must be
logged in to view attached files.
Hello,
There is the option to make the title length equal in Theme Settings -> Product Archive- > Product Style – > Product title lines limit.
If you have any questions please feel free to contact us.
Best Regards
I made settings – Theme Settings -> Product Archive- > Product Style – > Product title lines limit->One line. But there is no change. Is there another way?
Attachments:
You must be
logged in to view attached files.
I try to level the products in another way. I want to put a row “br /” under the picture of the simple products on the categories page. Have two types of products in the shop, simple and with variations. Products with variations have a row with filters, simples products do not. I’m trying with this code:
add_action( ‘woocommerce_shop_loop_item_title’, ‘shop_loop_item_title’, 9 );
function shop_loop_item_title($_product) {
foreach ( $order->get_items() as $item ) {
$product = $item->get_product();
if( $product->is_type(‘simple’) ){
echo “<div>
<h1><br /></h1>
</div>”;
} else {
// is not simple
}
//////////////////////////////////////
Can you help me with solution how to complete the code or a solution to align the products.
Hello,
Unfotutently, it is not possible to do it in such a way. You will have to try different product styles to make. Please check the Theme settings > Product Archives > Product styles and try different Hover on product designs.
Best Regards