Is there a way to add a caption to a video?
-
I can add a caption (and the “border” that comes with it) to a picture or gif animation but I can’t find a surefire way to do that with videos. I tried adding a picture and caption and then removing the picture with an embed link but it works only sometimes. Sometimes the caption gets messed up, I can’t align either the video or the caption to the center and sometimes the whole thing (except the embed link) dissappears after I save my progress.
Someone showed me how to add solid borders (like picture frames) but that’s not exactly what I was looking for.
-
To do that, you need this code in the HTML editor:
<div class="wp-caption aligncenter" style="width:NNNpx;">VIDEO SHORTCODE HERE<p class="wp-caption-text">CAPTION HERE</p></div>NNN must be 10px larger than the width of the video.
- The topic ‘Is there a way to add a caption to a video?’ is closed to new replies.