I'm not sure how to do this or if I'm going about it the wrong way. I created a view and two fields. One "Video" and the other "Title". Everything looks fine, but the issue is some titles are too long and kick the next video to the next line. I tried to give it a width, but that makes the title two lines. Is there a way to give the title a max width and only one line? Or is there another option I should try? Thanks in advance.

Comments

cfox612’s picture

In the view you can trim by characters, so you could figure out the max and trim based on that. You can also set the max width and height via CSS of the title with overflow set to hidden.

kbrinner’s picture

Edit your view, click on the Title field, and then click on the Rewrite Results dropdown. Select 'Trim this field to a maximum length' and fill in the necessary info to trim it to the right length.

Dollowmite’s picture

Thank you both, I'm a little slow.