Right Top corner caption (to insert the photo or image authors)

Posted in: Newspaper
Post count: 10

Hi there. I would like to add a caption on my photos (or on the ones i chose) in the right top corner. How can i do this? WordPress only has the standard caption option to be inserted on the bottom of the picture.

Post count: 20688

Hi,

The image captions will be displayed like this
https://www.screencast.com/t/YFCBZT7b
You could use a bit of CSS to style them to appear in the left corner of the image. Experiment with a code like this, see if it works properly.
https://www.screencast.com/t/f3vIGtcflu
I changed the color of the caption, but you can change it to a color you want (now it depends on the image, on some images it could not be so visible)

Enter it in Theme panel->Custom CSS

.wp-caption {
position: relative;
}
.wp-caption-text {
position: absolute;
right: 0;
top: 0;
color: #fff!important;
}

Thanks

Post count: 10

Hi Simon. Thank you for your answer. It’s a good alternative, but i would like to have two types of captions.

Please check this example of another website that i think uses your theme: https://zap.aeiou.pt/costa-nervoso-socrates-202402 .

They have the normal caption of the image, at the bottom, and another one, on the top right corner with info on the author of the photo. That’s what i would like to do inmy site.

I tryed to look at their source code to check if they are using any third-partie plugin to do it, but i can’t find any information.

Thank you again for your help. Best regards.

Post count: 20688

Indeed there seems to be a caption top and bottom for the images. In WordPress there is only one caption field for each image.
So what I believe they are doing is entering the captions manually like this
https://www.screencast.com/t/goYTsUZRH
Then with some CSS style the caption
https://www.screencast.com/t/DMX3WcT1PrBS

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.