Skip to main content
Topic: Add nowrap to a column (Read 1648 times) previous topic - next topic

Add nowrap to a column

Hello,

I have a specific column that I don't want the text to split to a next line.
How can I do to add a nowrap or something similar so it stays on the same line?

Regards,

Carlos

 

Re: Add nowrap to a column

Reply #2
@zolwito‍ please use the bootstrap class text-nowrap to do that. You can read more about bootstrap classes for text over here.

I had to change the display Type to Custom and then add the text-nowrap on the div and it worked.
 <span class="text-nowrap"><?php echo $data['program']; ?></span>

But is that the way to do it? Or I can add the class text-nowrap somewhere else?


Thank you,

Carlos