Center Caption with Gallery


I recently inserted a bit of CSS to get my gallerys to center, but now the associated pop-up caption spans the width of frame. See an example here, the second picture down:

Any suggestions on how to limit the pop-up caption to the gallery thumbnail once again?

Hi @chriswork,

I hope you are well today and thank you for your question.

You can try achieving this by adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Appearance -> Customize -> Activello Options -> Other -> Custom CSS

#page {
    display: table;
    margin: 0 auto;

Best Regards,