- This topic has 23 replies, 8 voices, and was last updated 4 years, 1 month ago by
David.
-
AuthorPosts
-
April 24, 2015 at 7:54 pm #102142
Mary Pearson
Hi Tom,
I’m trying to format my product pages in WooCommerce. The tab says “Description” and then under that it says “Product Description”. Rather redundant.
I’d like to remove “Product Description” but I can’t find the file that it’s in. Would appreciate any help locating it.
Many thanks!
April 24, 2015 at 10:46 pm #102172Tom
Lead DeveloperLead DeveloperI would use CSS instead of editing any files.
Something like this should work:
.woocommerce #tab-description > h2 { display: none; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 25, 2015 at 7:04 am #102290Mary Pearson
Tom, that’s exactly what I needed but didn’t know the coding. Thank you again and again and again!
April 25, 2015 at 10:15 am #102318Tom
Lead DeveloperLead DeveloperYou’re welcome!
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 9, 2016 at 8:04 am #178027Emily
I’m having the same problem but this code isn’t working for me. I tried it as is, and I tried changing the h2 to h4 as that’s what my product description title is. I’ve tried a number of other code things as well, and none have helped. Any ideas would be much appreciated. Single product page: http://inkandire.com/product/dtfwct
March 9, 2016 at 12:28 pm #178078Tom
Lead DeveloperLead DeveloperGive this a try:
.product-information-inner .product-navigation { display: none; }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMarch 10, 2016 at 7:15 am #178262Emily
First I tried adding this to my CSS in my child theme and no dice, and then I added it to the Global Custom CSS in the WooPress theme options and it worked right away. Thank you so much! I’ve been struggling with this for days.
March 10, 2016 at 11:19 am #178315Tom
Lead DeveloperLead DeveloperYou’re welcome π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentApril 29, 2016 at 2:16 am #190276Miriam
You really solved my problem, and it was so easy! Thank you!
April 29, 2016 at 10:18 am #190401Tom
Lead DeveloperLead DeveloperHappy to help! π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentMay 24, 2016 at 3:29 pm #196507Miraje Studios Company
Saved me a lot of headache. Just what the doctor ordered! Works beautifully thank you! I love CSS!
May 24, 2016 at 4:26 pm #196525Tom
Lead DeveloperLead DeveloperGlad it helped π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 1, 2016 at 7:10 am #198555Jimmy
H2 heading “Product description” becomes invisible onpage (nice!), but visible in the HTML-code. How to remove it even from the html-code, so the search engines not see it.
June 1, 2016 at 9:49 am #198606Tom
Lead DeveloperLead DeveloperYou’ll need to ask WooCommerce support that one as they’ll have a better idea of which hooks you can remove.
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/
Ongoing Development: https://generatepress.com/ongoing-developmentJune 2, 2016 at 11:05 pm #199066Daniel
I got the tab description to disappear but I would also like the reviews description to disappear I tried adding
.woocommerce #tab-description > h2 {
display: none;
}but still appears
https://missalliescreations.com/product/test-1-copy/
Also, would like the addition info to disappear if I add variations.
-
AuthorPosts
- You must be logged in to reply to this topic.