WOO uses multiple selectors for its titles – so try this instead: |
Example:
CSS
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
Login to your "yourdomain.com/wp-admin" Dashboard
Then,Click on "Appearance" + "Customize" from left sidemenu of Dashboard.
Find "Additional CSS" from leftside menu. Select it.
Step-4: Copy and Paste Following code insert the input box and "Publish"
Example:
CSS
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product h3 {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
How to fix Woocommerce title length Broken Grid Product View | Wordpress CSS Tutorial |
How to bring woocommerec order button center align | Wordpress CSS Tutorial |
How to add Border around Woocommerec Product | Wordpress CSS Tutorial |
How to fix Woocommerce title length Broken Grid Product View for Mobile Page | Wordpress CSS Tutorial |
How to fix Woocommerce title length from Wordpress Dashboard | Wordpress CSS Tutorial |
Read Full: | Wordpress CSS Tutorial |
Category: | Web Tutorial |
Sub Category: | Wordpress CSS Tutorial |
Uploaded: | 1 month ago |
Uploaded by: | Admin |
Views: | 130 |
Tested on: | PHP 7 and Wordpress 6.6+ |
Ref on: | View |