Plugin Author
pepe
(@pputzer)
Sure, @jorgeletralia. The credit is wrapped in a <span>
with the class media-credit
, so you can target that with custom CSS.
However, something is strange with the markup on your page. You have an embedded <div>
inside the <figure>
. Are you using the classic (non-block) editor? Any plugin that might interfere with the [caption]
shortcode?
Hi, Pepe:
Thanks for the information. I’ll try with custom css.
I use classic editor. In fact, I use WordPress 4.9.10.
Plugin Author
pepe
(@pputzer)
What’s your Media Credit version, 3.2.0? I would suggest upgrading to WordPress 5.x and Media Credit 4.0.x (with the Classic Editor plugin if you want to keep using that).
Thanks!
The tip about CSS worked perfectly. We’ll update soon WordPress and your excellent plugin.
Plugin Author
pepe
(@pputzer)
So the issue has been resolved, @jorgeletralia? If you’d find the time to leave a review, I’d be grateful.
It has been resolved satisfactorily. I’ll write you the review.
Hi again,
This week we update WordPress and also the plugin. Now we have a new problem: the upper and lower space around the credit is too big (please see screenshot). We tried to solve this by adding <margin = 0,0,0,0> to CSS, but it did not work.
Screenshot: https://imgur.com/ZBvWSLx
The issue in live: https://letralia.com/entrevistas/2019/06/16/yolanda-arroyo-pizarro/
Can you suggest a solution?
Thanks in advance!
Plugin Author
pepe
(@pputzer)
@jorgeletralia: It looks like you should probably hire someone for adapting the stylesheets. The extra whitespace comes mainly from the padding
and line-height
properties of the surrounding <figcaption>
tag. Also, I’m pretty certain that Media Credit is not the right tool to add affiliate links. You could do that with plain captions much more easily (or a specialized plugin).