XF 2.1 Rounded avatars only when not in topic-view


New member

I want to make avatars have the circle image on all view, expect when you view a topic, then the original avatar show be visible.

The basic border radius option in the style settings is 50%.
I tried adding the following custom css to the thread view style options:
div.message-avatar-wrapper img {
    border-radius: 0% !important;
Which is sadly not working.

Otherweise, if I set the main setting to 0%, I can override the topic view with with a higher value. But since the forum view has no custom css fields, I can't set the base setting to 0% and increase the radius everywhere I would want to.

Has anyone an idea, how to solve this?

Best regards,