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

  • oldfan
    replied
    Originally posted by glennrocksvb View Post
    I don't have a vB4 site but try this:

    Code:
    .postbit .postuseravatarlink img,
    .avatar img {
    border-radius: 100%;
    }​
    sorry where do i put this ?

    Leave a comment:


  • oldfan
    replied
    Thanks I'll try it in the morning ☺️

    Leave a comment:


  • glennrocksvb
    replied
    I don't have a vB4 site but try this:

    Code:
    .postbit .postuseravatarlink img,
    .avatar img {
        border-radius: 100%;
    }​

    Leave a comment:


  • oldfan
    replied
    Anyone have the vb4 code 😁

    Leave a comment:


  • oldfan
    replied
    ahhh thats cool, be interesting to see metallica avatars round lol

    Leave a comment:


  • glennrocksvb
    replied
    This is for vB5 only but it can also be done to vB4 but with different CSS code.

    Leave a comment:


  • oldfan
    replied
    4 vb or 5vb?

    Leave a comment:


  • mohammed
    commented on 's reply
    Thank you so much! It is working now with the new code.

  • glennrocksvb
    replied
    There is a CSS code in css_additional of the custom theme that tells ALL elements (not just images) should have border-radius of zero which means not rounded.

    Code:
    * {
        border-radius: 0 !important;
    }
    The !important in the code overrides other CSS code. To override this for avatars, then also add !important​ in the rounded avatar's code by changing this part:

    Code:
    border-radius: 100%;
    to:

    Code:
    border-radius: 100% !important;
    ​

    Leave a comment:


  • mohammed
    replied
    This is a great mod. It is working on default templates/styles but not on the customized style. What could be the problem with the customized style?
    دوراΨͺ Ψ§Ω„ΨͺΨ±Ψ¬Ω…Ψ© وΨͺدريب Ψ§Ω„Ω…ΨͺΨ±Ψ¬Ω…ΩŠΩ† Ω…Ω† Ω…Ψ³ΨͺΩˆΩ‰ الءفر Ψ₯Ω„Ω‰ Ψ§Ω„Ψ§Ψ­Ψͺراف

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by NumNum View Post
    I noticed on comments where a user is tagged the avatar is square, as seen here.
    Right. Unfortunately, the way the avatar is implemented in tags as a background image, it's impossible in CSS to make it rounded without also making the @ username text rounded.

    Leave a comment:


  • NumNum
    replied
    I noticed on comments where a user is tagged the avatar is square, as seen here.

    Leave a comment:


  • glennrocksvb
    replied
    Originally posted by aSpeNDos View Post
    Could you please adjust this edit for vbulletin 3.8.x

    Thank You Bro
    Try adding this custom CSS. But avatars in vB3 may not be square so making them round may turn into oval (oblong).

    Code:
    a[href^="member.php?u="] img {
        border-radius: 100%;
    }

    Leave a comment:


  • aSpeNDos
    replied
    Could you please adjust this edit for vbulletin 3.8.x

    Thank You Bro

    Leave a comment:


  • Derwin
    replied
    When I add the code to the additional.css file, and does not change the avatar. Is this mod still working?

    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 "|||"