Texting Wrapping on Titles

Hey Community,

I’m trying to wrap the text for my titles so they don’t go over the “Learn More” cta (screenshot attached). I’ve tried using some of the styling that was discussed in Formatting CTA's separately by vertical but was unsuccessful trying to leverage white-space: normal, and text-align: left.

I’ve also tried just restricting the width to a set amount of pixels but this leads to the title just going over the description.

Open to any suggestions on best way to approach this.

@Hannah_Mussi was able to help me solve this! We were able to implement a simple max width and target the title specifically.

.HitchhikerStandard-title {
text-decoration: none;
font-size: var(–yxt-font-size-lg);
line-height: var(–yxt-line-height-lg);
font-weight: var(–yxt-font-weight-semibold);
max-width: 350px;
}