Show the full caption when a video is clicked
Updated 2 months ago
Add a few lines of custom CSS in the widget editor to keep the full caption visible and hide the Expand button when a video is clicked.
Before you start
Make sure captions are turned on for the widget. In the widget editor, check that Show captions is enabled.
Add the custom CSS
In the Moast dashboard, open the widget you want to change.
Look for the Custom CSS field in the editor settings.
Paste the code below into the Custom CSS box.
.caption {
display: block;
}
.expand {
display: none;
}Click Save.
Check the live preview or your storefront to see the caption showing fully when a video is clicked.
What this does
This CSS forces the caption to stay visible and hides the expand button, so visitors see the full caption text immediately when they open a video.
Was this helpful?
Was this helpful?