I’m using a ticker to display some event data from the database. I have set the limit of the number of items per page to 25. But some times there may be only one item to display. According to organized events, those events count can vary from 1 to 25. I’ve set the font size of the ticker to 20px so that all 25 items can display in one page. But I want the font size to increase automatically when the number of items displaying is less than 25. As an example when there’s only one item to display font size should be increased into higher value so that it can fill up the screen.
1 Like
Welcome to Xibo Community Forum Malka
This should be do-able using our options in the Layout designer to override the default template and use instead optional Stylesheet and optional JavaScript. You can see those options in the Layout Designer under the Templates tab
you will find both Optional Stylesheet
and Optional JavaScript
. It can be a bit tricky to set up but you could for example write some JavaScript to be run so that it counts how many items there are, and manually sets the font size accordingly. Good luck!
1 Like
Thank you for your reply.
It was successful with JavaScript.
1 Like
That’s great to hear. Congrats!
1 Like