badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: caption on featured image stop showing

#97586
tiburcioroberto
Participant

Hi
it’s not because of the quotes in the file it’s correct, It seems that I change the quote when I paste it on the page
It was working fine before update

this is the code in my child theme

<figcaption class="featured-image-caption"><?php echo get_the_post_thumbnail_caption(get_the_ID()); ?></figcaption>
</figure><!-- .post-featured-image .page-single-img-wrap -->

I have this code in Appearance > Customize > Additional CSS

.post-featured-image.page-single-img-wrap {
	overflow: hidden;
}
.post-featured-image.page-single-img-wrap .featured-image-caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 50px 25px 5px;
	color: #ffffff;
	font-size: 14px;
	font-family: arial;
	background: linear-gradient(rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5));
}
@media (max-width: 767px) {
	.post-featured-image.page-single-img-wrap .featured-image-caption {
		padding-left: 15px;
		padding-right: 15px;
	}

But again it was working before the update