Introduction
BuddyBoss may shorten long course titles by default, which can make them harder to read. You can prevent course titles from being truncated by adding a small CSS snippet to your active theme. This guide explains how to prevent long course titles from being shortened.
Custom Workaround
Before proceeding, make sure you have a complete site backup.
- Go to BuddyBoss > Theme Options in your WordPress admin dashboard
- Open the Custom Codes section
- Enable CSS
- Add the following CSS code:
#page .bb-course-title a {
overflow: visible;
text-overflow: unset;
-webkit-line-clamp: unset;
max-height: 100px;
height: 100px;
}
- Click Save Changes
Troubleshooting and FAQs
Q: The course titles are still being cut off.
A: Clear your browser and site cache, then refresh the course page.
Q: Will this affect other text elements on the site?
A: No. This CSS only targets course titles.
Q: Can I adjust the height for very long titles?
A: Yes. Change the max-height and height values in the CSS snippet to suit your design