By default, BuddyBoss displays the course category above the course title on course pages. It is displayed in all caps (also known as uppercase
in CSS). With some simple CSS, we can change the capitalization of the course category.
Here’s the CSS to make it happen:
.bb-course-banner-inner .bb-course-category {
text-transform: capitalize;
}
This would change the capitalization to only capitalize the first letter of each word, instead of every letter.
You can use the following values with text-transform
:
uppercase
: EXAMPLE CATEGORYcapitalize
: Example Categorylowercase
: example categorynone
: This will display the text exactly as it appears in the HTML. With BuddyBoss course categories, this means it will appear exactly as you typed the category when you created it.