Showing captions on photos

Is there any way I can display the photo caption overlaid on the photo, instead of below the photo?

Thanks.

Hi @dondemaio,

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

To achieve this you can try adding the following CSS code in the Custom CSS option of your theme on the below path.

Admin Area -> Apperance -> Theme Options -> Other -> Custom CSS

.gallery-item,
.wp-caption {
  position: relative;
}
.gallery-item .wp-caption-text{
	width: 60%;
	left: 45px;
}
.wp-caption-text {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 9999;
  width: 97%;
  padding: 4px;
  background-color: rgba(0, 0, 0, 0.4);
  margin: 3px !important;
  color: #fff;
}

Best Regards,
Movin