Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-08-20 13:31:40

123
Member
From: Poland
Registered: 2012-07-24
Posts: 323

Circular avatars

Open your theme example air.css added

.postavatar {
overflow: hidden;
width: 150px;
height: 150px;
border-radius: 50%;
}

.postavatar img{
width: 100%;
height: auto;
}

border-radius:50% - circular

150px x 150px replace your awatar size.

If you do not give a fixed height and width of the rectangles come.
If it was a mod for scaling avatars to squares, even those rectangular it would be ok, but I have not seen anything like it, without stretching the image.

example
lm5lYW.png

thx fix Michu

Last edited by 123 (2014-10-26 14:34:49)


[img]http://imagizer.imageshack.com/img633/7813/XjQh8f.png[/img]
https://github.com/123s   My profile in github
Ach, lekceważyłaś wolę króla
a w nocy naszego spotkania, śmiałaś się do łez

Offline

Board footer

Powered by FluxBB 1.5.8