Announcement

Collapse
No announcement yet.

How to make round avatars in vB5

Collapse
This is a sticky topic.
X
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • glennrocksvb
    commented on 's reply
    Need to see the site in order to see what's happening.

  • DXW
    commented on 's reply
    Nope. That give me square borders again.

  • DXW
    commented on 's reply
    Ahhhh thanks. That might fix some of the shadowing oddities I have been getting.

  • glennrocksvb
    commented on 's reply
    Put the border in the image itself not in its container.

    Code:
    .b-avatar--thread img {
        border: 1px solid #fff;
    }

  • DXW
    commented on 's reply
    Now I have round avatars with drop-shadows. Small steps ... thank you "Add Drop Shadow to Main Body Container" for the steer. Now to make them a little more subtle.

  • DXW
    commented on 's reply
    Got it. The earlier segment, just above the one I quoted …
    img.avatar,
    img.b-avatar {
    border-radius: 100%;
    border: 1px solid #ffff;
    }

    Thanks.

  • glennrocksvb
    commented on 's reply
    The format for border property is:

    border: <border-width> <border-style> <border-color>;

    For example:

    border: 1px solid #fff;

  • DXW
    replied
    Where does the thin white border you have around these round avatars derive from?
    I've achieved round avatars, and I've made them larger, but I can't seem to give them a border.
    If I alter ...
    Code:
    .b-avatar--thread {
        border: 0;
    }
    … to ...
    Code:
    .b-avatar--thread {
        border: 1;
    }
    … I get a 1px square border around my round avatar.

    Leave a comment:


  • bluebarracudas
    replied
    Click image for larger version

Name:	image.png
Views:	534
Size:	15.4 KB
ID:	14731

    Had a member join today and his/her avatar came out like this. Is this a product of the avatar being too small? I'm sure force stretching the avi isn't ideal, but is it doable in times like these?

    Leave a comment:


  • glennrocksvb
    replied
    If an avatar is not a square, then it will become oval. You don't want to force it to be square as the image will be stretched.

    Leave a comment:


  • CivicTR
    replied
    Originally posted by glennrocksvb View Post
    No, I wasn't saying to use the code I posted in post #91. I was saying to remove it as it is the code that's causing the avatars not to be rounded.
    Thanks for your support. I did rounded avatars but some avatars are more rounded(oval) . I read topic but i couldn't. Can you please help ?

    Leave a comment:


  • glennrocksvb
    replied
    No, I wasn't saying to use the code I posted in post #91. I was saying to remove it as it is the code that's causing the avatars not to be rounded.

    Leave a comment:


  • CivicTR
    replied
    glennrocksvb
    ​​​​​​​this code
    Code:
    {
        border-radius: 100%;
    }
    I changed it with the code you wrote, problem not solved.

    Leave a comment:


  • glennrocksvb
    replied
    You have this CSS code in css_additional that overrides the border-radius.

    Code:
    * {
        border-radius: 0 !important;
    }
    That code means don't make the border of ALL tags round.

    Leave a comment:


  • CivicTR
    replied
    Originally posted by glennrocksvb View Post
    Today, 11:45 AM
    Editing a comment


    Need to see your site in order to check if the code is correct and not overridden by other CSS.
    My web site www.civictr.com Thanks...

    Leave a comment:

Users Viewing This Page

Collapse

There is 1 user viewing this forum topic.

  • Guest Guest

Latest Posts

Collapse

Working...
X
Searching...Please wait.
An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

Please push the back button and reload the previous window.'
An unexpected error was returned: 'Your submission could not be processed because the token has expired.

Please push the back button and reload the previous window.'
An internal error has occurred and the module cannot be displayed.
There are no results that meet this criteria.
Search Result for "|||"