Hiding product description
-
Hello
I’m trying to hide the full product descriptions on my product pages and keep only the short descriptions visible. I don’t want to completely remove the content from the description tab because it’s important for SEO purposes, and Yoast only detects the main description, not the short description.
That’s why I’d like to keep the content in the background but simply make it invisible to visitors. I’ve tried using some CSS codes found online, but none of them seem to work with your theme.
Is there any recommended code or method that works specifically with your theme?
Thank you in advance!
Best regards,
Hello,
Please add the below Custom CSS code to Theme Settings > Custom CSS > Global CSS section:
.wd-accordion-title.tab-title-description,
.tabs-layout-accordion .woocommerce-Tabs-panel--description {
display: none !important;
}
Best Regards,
Unfortenately, it’s not working.
Hello,
Sorry to hear about the inconvenience.
Kindly please share your Site WP-ADMIN Login details in the Private Content field so that we can check this concern on your Site and give you a possible solution.
Best Regards,
Hello,
Sorry to say I am unable to log in to your site. https://ibb.co/s9BYX5WW
Best Regards,
Hello,
It’s possible that this error is appearing, just like it happens to me when I’m working on demanding tasks, but one or two refreshes should fix the problem and become availabe again. A few days ago, another admin accessed it through the same link and had no issues.
Best regards
Hello,
Your issue has been resolved. Please revisit your site and verify. The problem was due to a missing closing curly brace (})
on line 11 of the CSS block.
Best Regards,
Hello,
It is working!
Thank you for your time!
Regards
Hello,
You’re very welcome! I’m glad I could help. If you need anything else, feel free to reach out!
Thanks for contacting us.
Have a great day.
Topic Closed.
Best Regards,
The topic ‘Hiding product description’ is closed to new replies.