To customize a single widget's card size and total number of cards displayed, you need to add additional parameters to the widget integration code.
The standard widget integration code available in the Dashboard :
<div data-lb-widget="eyJhIjeXampLejI2MDHGyCJ3Ijo0MAARfQ" style="height:260px;" />
To customise the widget, two additional parameters are needed:
lb-widget-max-number
Specifies the total number of show or clip cards to be displayed.
lb-widget-max-width
This parameter specifies the maximum width of each widget show or clip card. Note that the aspect ratio will always be 9:16. If you want to achieve a specific max height, you can calculate the max width to provide in the widget.
The final widget integration code should look similar to the example below:
<div data-lb-widget="eyJhIjeXampLejI2MDHGyCJ3Ijo0MAARfQ" lb-widget-max-number=”4” lb-widget-max-width=”360” />
Comments
0 comments
Please sign in to leave a comment.