Jump to content

[Share] Align center video caption

Recommended Posts

To align center video caption/description, you can use below CSS. If you can't make it work, you can send link to page where you use video, I can help easier.

#1. All Videos

Use this code to Custom CSS box.

div.video-caption {
    text-align: center;
}

image.png.7060419fcf6a5a0784299fdc5b33525b.png

image.png.c32be09a06926a5b24126056d38d14b9.png

#2. Specific Video

First, you need to find the Video Block ID. Use below tool.

In my example, we will have ID: #block-yui_3_17_2_1_1712981848511_31173

image.png.b6117d43d6ec0b19d935424db94e07fa.png

Next, use this code to Custom CSS box

#block-yui_3_17_2_1_1712981848511_31173 div.video-caption {
    text-align: center;
}

image.png.f53b48da51c58e2cd339972e60ca3433.png

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
  • Replies 0
  • Views 699
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.