So I found a problem in Divi tonight.
To be fair, this isn’t exclusively a Divi problem. This is a Gravatar problem. Occasionally, Gravatar images show up at a weirdly large size, while others show up normally.
It would be one thing if all Gravatars showed up large, but this mix doesn’t work because, as you can see, it covers up comment text, and it hides behind the avatar for the following comment.
But, I wrote just a couple lines of code, and now all Gravatars match.
Viola!
Step 1: Take this code.
.comment_avatar {
height: 62px;
width: 62px;
}
Embed it in the CSS in Divi Theme Options.
That’s it!
If this helps you, I’d love to hear about it. Drop me a comment below.
0 Comments