This topic has 12 replies, 2 voices, and was last updated 4 years, 8 months ago ago by Rose Tyler
Hi,
The “add to cart” button will go upward when the product name is shorter than the others (https://ibb.co/YTJCMNS), is there any way to prevent this situation? Like this is great: https://ibb.co/jRTzxXZ
Thank you
Hello,
Theme Options > WooCommerce (Shop) > Shop > Products style > set Product Title Chars Limit or use this custom CSS code
.content-product .product-title {
min-height: 70px;
}
Regards
Thank you. It is working.
I set min-height to 100px.
But there is a gap between the product name and brand, may I ask how to eliminate the gap?
https://ibb.co/7pxzJ18
Thank you
Set 70px – http://prntscr.com/s1rqub or use “Product Title Chars Limit”, there is no other way.
Regards
No matter I set it to 70 or 100px, the will be a gap when I decrease the size of the monitor
https://ibb.co/zFv9GnD
If I use “Product Title Chars Limit”, the product name will not be shown if I set it into 20. Then I try 25, the gap occurs again.
Change this code http://prntscr.com/s1sbaf to
http://prntscr.com/s1sbkd or http://prntscr.com/s1sbpq
.content-product .product-title {
min-height: 70px;
display: flex;
align-items: center;
}
Regards
Hi,
There is still no change
https://ibb.co/MnmdJPm
Hello,
I can see changes, without the custom code – http://prntscr.com/s1tcqx and now – http://prntscr.com/s1tcys
Regards
If you decrease the monitor size to a certain size, the problem occurs again
Try to add this code also
.content-product .product-title a,
.content-product .products-page-brands a,
.content-product .price,
.content-product .product-details .button {
font-size: 14px !important;
}
.content-product .product-image-wrapper {
margin-bottom: 5px;
}
or change products per view value in settings of the element on your page.
Regards
Thank you. I think it is great now
You’re welcome!
Regards
You must be logged in to reply to this topic.Log in/Sign up