Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Mini cart css issue for hidden products

Home / Forums / Virtue Theme / Mini cart css issue for hidden products

This topic is: Resolved
[Resolved]
Posted in: Virtue Theme
August 21, 2018 at 1:02 pm

If the cart contains a hidden product, it’s image in the mini cart is displayed at 100% width and the text is in a different size. This is because unlike the normal cart items the hidden item is not placed within an -tag.

This fixes it for me:

/* virtue uses this rule: #nav-main ul.sf-menu ul#kad-head-cart-popup ul.product_list_widget li a img */
#nav-main ul.sf-menu ul#kad-head-cart-popup ul.product_list_widget li img {
max-width: 50px;
padding-right: 10px;
width: 50px;
height: auto;
float: left;
margin: 0;
}

#nav-main ul.sf-menu ul#kad-head-cart-popup ul.product_list_widget li {font-size: 12px;}

  • The forum ‘Virtue Theme’ is closed to new topics and replies.