MyBB Community Forums

Full Version: Portal Truncate
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,

I am wanting to truncate my portal announcements. If you don't know what truncate is here is an example, currently my announcements show as:
However, when you truncate the announcement it should show like this:

I have tried several methods, php truncate(I'm bad at php so I didn't get far with this) and also jQuery/JavaScript. I got one working, but it only affected the first announcement. Then once I set it to show only one announcement is didn't work.

Can anyone tell me how I would get this to work?

- Harry.

Edit: I managed to achieve this with CSS, I will post a tutorial soon.