Thank you for your reply and I probably better place my codes here. Unfortunately I’m not an experienced programmer, but I’m trying.
Here the CSS in which I have already included a credits-caption coding as I think it may be right.
.wp-caption { background:#F7F7F7; text-align:center; padding:4px 0px 5px 0px; border:1px solid #e6e6e6; }
.wp-caption img { margin:0px 0px 5px 0px; padding:0px; border:0px; }
.wp-caption p.wp-caption-text { margin:0px; padding:0px; font-size:11px; font-weight:normal; line-height:12px; }
.credits-caption { background:#F7F7F7; text-align:right; padding:2px 0px 5px 0px; border:none; }
.credits-caption img { margin:0px 0px 5px 0px; padding:0px; border:0px; }
.credits-caption p.wp-caption-text { margin:0px; padding:0px; font-size:8px; font-weight:italic; line-height:10px; }
This is the image file produced by WordPress when inserting an image:
[caption id="attachment_1079" align="alignright" width="200" caption="by Jason Stitt (<a href='https://www.shutterstock.com/pic.mhtml?id=17170573' target='_blank' rel='nofollow'>Shutterstock</a>)"]<img src="https://www.soccerwidow.com/wp-content/uploads/2012/04/shutterstock_17170573-200x300.jpg" alt="" title="Sexy soccer referee" width="200" height="300" class="size-medium wp-image-1079 " />[/caption]
I added the class=”credits-caption” in img as advised. Here the code:
[caption id="attachment_1079" align="alignright" width="200" caption="by Jason Stitt (<a href='https://www.shutterstock.com/pic.mhtml?id=17170573' target='_blank' rel='nofollow'>Shutterstock</a>)"]<img class="credits-caption" src="https://www.soccerwidow.com/wp-content/uploads/2012/04/shutterstock_17170573-200x300.jpg" alt="" title="Sexy soccer referee" width="200" height="300" class="size-medium wp-image-1079 credits-caption" />[/caption]
However, no changes happen on the screen. Thanks for further advice ??