[Resuelto] Problem with the shortcode to show the user's image
This support ticket is created hace 6 años, 11 meses. There's a good chance that you are reading advice that it now obsolete.
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
I just checked this on a local test site and it worked as expected.
The profile picture image has a class wpv-profile-picture-shape-circle and that class has a CSS style of border-radius: 50%, which makes the image circular.
But when I look on your site at this page that class is missing, even though it should be added automatically. I added the class manually to the image with the browser dev tools and the image became circular.
Is there something you are aware of when inserting the shortcode which might account for the class being missing?
If not I'll need to test again specifically inside a Divi text module, but please let me know.
I tested it inside a Divi module and it worked okay.
I still have a local copy of your test site from before, and I tested it on there and it also worked fine.
Many of the plugins were deactivated for testing, so I re-activated the ones you currently have active on your site, and it was still okay (see screenshot).
Since I took a copy of your site you have added new plugins that I can't test.
In the second screenshot are the plugins I have installed and active for my test.
Can you test whether deactivating any other plugins you are using resolves the problem?
I have disabled all the plugins that you do not have and the problem is not solved, so, maybe, the problem is of the latest versions of some of the plugins.
I've been testing disabling other plugins, but nothing solves the problem.
What can we do to find out?
I think rather than trying to work out why the class is not being added to the image on your current installation it would be much simpler to just add a CSS rule using the class names that are added.
So this should ensure the avatar is round:
.wp-user-avatar {
border-radius: 50%;
}
There don't appear to be any other styles assigned to the image that would prevent that from taking effect, if you could try that.
No. You misunderstood me. I was referring to the fact that the problem that is causing the avatar image not to be shown in a circular way may be damaging in other places of the web.
I just got this thread
Nigel isn't available, and I just got this thread, since it is a custom CSS problem, please point out the problem URL for:
the avatar image not to be shown in a circular way may be damaging in other places of the web.
Where and how can I see the problem, thanks
The problem that I have is for some kind of incompatibility between Toolset shortcode to show in a circular way the avatar of the user and some plugin installed on the site. Nigel was trying to reproduce the problem locally, he has all the information, so it will be better to wait until he returns from his vacation.
Thanks Luo.