Featured Image Caption – Post Style 4

Posted in: Newspaper
Post count: 101

Hi there,

I just noticed on post style 4 the featured image doesn’t display the caption. My site does have news so really need the caption to show so I can show the image source, how to solve this? Thanks so much.

Post count: 20685

Hi,

Some post templates may not display the featured image caption. That is the case for post style 4, give n the design of the template. A possibility would be to enable it and display it on top of the featured image like this
https://www.screencast.com/t/LrhcL3F0

.td-post-template-4 .td-post-header-holder .wp-caption-text {
display: block;
position: absolute;
top: 0;
color: white;
padding: 5px 10px;
}

Thanks

Post count: 101

Thanks Simion works fine, just wondering is there a way to display the cation on the top right instead of the top left?

Post count: 20685

Hi,

Glad it works, you could align it to the right like this
https://www.screencast.com/t/Dgf9jXZ7ko
Enter the property in the code, or remove it and add it again like this

.td-post-template-4 .td-post-header-holder .wp-caption-text {
display: block;
position: absolute;
top: 0;
right:0;
color: white;
padding: 5px 10px;
}

Thanks

Post count: 101

All good now, Thanks very much.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.