Archived topic
Using pods as avatar for dynamic author image - not honouring rounded setting
5 replies · Started by Antoinette on July 22, 2021
I'm really sorry to ask for something that I am certain is straight forward. It might even be a Pods question not a GP question, but I am losing my mind going around in circles.
I'm using pods to extend the user field and add author avatars locally. I can get it to show up and pull through correctly with the dynamic element, but even when the make rounded is toggled on, it doesn't work. I've tried it on various sites with different set ups and it is driving me totally nuts. I've added a link to this specific use case below. It's probably just CSS, but what that CSS might be I will probably die before figuring out myself /insert crying emoji here
Hi there,
the rounded option in the settings relies on a gp specific class that doesn't get added if the image is from a custom field.
But you can use some CSS:
img.avatar {
border-radius: 100%;
}
Is that a template from the Volume site ? Looks really great :)
I want to cry with happy tears. One day I am going to send all of you lovely people a giant basket of treats. THANK YOU!
You're very welcome - glad to be of help!
Thank you! I was about to open a new support request for this as I'm using Metabox's image-field to let users upload custom avatars. Your pre-check support result was spot on!
Glad to hear that!!