This topic has 6 replies, 2 voices, and was last updated 9 years, 2 months ago ago by Jack Richardson
1.
2. how to remove Product Description
text
http://i.imgur.com/JVXR8ef.png
Hello,
1. You can short product title using this code in wp-content/themes/blanco/functions.php :
add_filter( 'the_title', 'shorten_woo_product_title', 10, 2 );
function shorten_woo_product_title( $title, $id ) {
if (get_post_type( $id ) === 'product' ) {
return wp_trim_words( $title, 4 ); // change last number to the number of WORDS you want
} else {
return $title;
}
}
2. Please provide your website url in private content.
Best regards,
Jack Richardson.
Hi, i dont want reduce the title,
could u fix this without reduce the title ?
Hello,
Try to use this code in custom.css file:
.product-slider .carousel {
height: 400px !important;
}
To create custom.css you need rename default.custom.css to custom.css in wp-content/themes/blanco directory via FTP and enable it in Blanco – Theme Settings, tick “Enable Custom CSS file”.
Best regards,
Jack Richardson.
thanks, how about my 2nd question remove product description
Hello,
You need edit the file wp-content/themes/blanco/woocommerce/single-product/tabs/description.php and delete the title in line 17.
Best regards,
Jack Richardson.
You must be logged in to reply to this topic.Log in/Sign up