 
	
		Tagged: enfold, woocommerce category
- 
		AuthorPosts
- 
		
			
				
April 27, 2017 at 9:11 pm #784208Hi there Just upgraded to latest WooCommerce, Enfold and WordPress. Is it possible to remove the product quantity text in the category layout of Woocommerce and Enfold. 
  and also where can I style the font size and color of the Category’ titles. Thank you for your time. April 27, 2017 at 10:00 pm #784226Hey waveshaper! Please use the following ul.products .quantity { display: none; } Best regards, 
 BasilisApril 27, 2017 at 10:18 pm #784230Hi Basilis 
 Thank you for looking into this.
 I added the above styling to my child-theme CSS but it has no effect.
 I tried
 ul.products .quantity { display: none!important; }
 as well and still no change.
 I did clear the cache.
 Also, how can i change the font-size and center the text for the categories?
 Thanks- 
		This reply was modified 8 years, 6 months ago by waveshaper. 
 April 27, 2017 at 10:58 pm #784245This styling worked for the font size – 
 `.woocommerce-loop-product__title, .woocommerce-loop-category__title {
 font-size: 20px;
 text-align:center;
 }but still, not the quantity. April 28, 2017 at 6:27 am #784302Hi waveshaper, Can you try this code instead? .woocommerce-loop-category__title .count { display:none; }Best regards, 
 SarahApril 28, 2017 at 8:12 am #784338@waveshaper although you can throw CSS on many issues to ‘solve’ them (it’s hiding not solving) the way to remove the category count in WooCommerce is to add the following function to the functions.php of your child theme: add_filter( 'woocommerce_subcategory_count_html', '__return_empty_string' );April 28, 2017 at 9:43 am #784372@mensmaximus Brilliant! this is what I was looking for, I also prefer the correct way, removing it properly. Much appreciated, keep up the excellent work. April 28, 2017 at 9:44 am #784374@sarah Hi Sarah, thank you so much for your input, have a beautiful day. April 28, 2017 at 10:36 am #784391Hey! You’re welcome. Let us know here in the forums if you need help with anything else. Have a wonderful day! Cheers! 
 Sarah
- 
		This reply was modified 8 years, 6 months ago by 
- 
		AuthorPosts
- The topic ‘Remove Product Quantity on WooCommerce Category Layout’ is closed to new replies.
