Please or Register to create posts and topics.

Widget Avatar Quadratisch machen

Hallo Asgaros,

 

ich würde gerne beim Widget Avatar die runden Ecken entfernen. Also auf 0px bringen. Was schriebe ich dafür in die .css?

 

Liebe Grüße, Mighty

Hallo @mighty

Füge bitte den folgenden Code zu deinem Theme via Appearance -> Customizer -> Additional CSS hinzu:

.asgarosforum-widget .widget-avatar img {
    border-radius: 0 !important;
}

 

N3k0 has reacted to this post.
N3k0
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

I think there should be an option in Appearance -> Customizer  like :

Display user avatars: yes/no
Style of the user avatars: Rounded/Square/Rounded Corners

And for future updates, a suggestion is give the option to display the author post in other ways or positions:

Display authors posts in: Left/Right/Top

Keep the awesome work 😀

Cheers!

Hat funktioniert, danke!

Asgaros has reacted to this post.
Asgaros

I would also like the size and shape of the avatar to be configured from the admin panel of the forum. I prefer the square avatar size 100x 100 px.
Something like this forum: https://mosmasterremont.ru/forum/viewtopic.php?t=202
In this forum, avatars are moving. And on the asgaros forum only static. If you upload a moving picture, the static one will still be displayed.

I would like to see moving pictures displayed on the avatar in motion. From this forum becomes more interesting, alive.

@erenbur You can use an extension which allows your users to upload gif-avatars. In this case moving avatars are also displayed inside of the forum.

Erenbur has reacted to this post.
Erenbur
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

@erenbur

well… thats a problem, Asgaros uses the avatar system from Wordpress and WP use the Gravatar system for default, and gravatar do not allowed to upload animated gif :/

Another plugins who add frontend avatar upload also do not display the avatar animated. I will search for some plugins who allowed this.

Cheers!

Erenbur has reacted to this post.
Erenbur

@n3k0

That is true. Unfortunately, its not possible (or my job) to change the existing avatar-logic of WordPress, because other extensions may rely on this avatar-logic as well. Asgaros Forum and other plugins are using the API of WordPress for already existing functionalities (in this case the avatar-functionality) to avoid this kind of compatibility-issues between plugins. The best solution would be to ask the developer of a dedicated avatar-plugin to add support for animated avatars.

Erenbur has reacted to this post.
Erenbur
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!