Add a border to avatars?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alberto464
    New Member
    • Nov 2012
    • 2
    • 4.2.X

    [vB4] Add a border to avatars?

    Hi,
    how can I add a border as the image in my postbit_legacy?

    Click image for larger version

Name:	postbit.png
Views:	1
Size:	24.5 KB
ID:	3725032

    Thanks
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 74132

    #2
    Use CSS in the additional.css template to add a border to the postuseravatar class.

    .postuseravatar {padding: 3px; border: 1px solid black; }
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • alberto464
      New Member
      • Nov 2012
      • 2
      • 4.2.X

      #3
      Thanks, I adjusted so:
      .postbitlegacy .userinfo .postuseravatar img, .eventbit .userinfo .eventuseravatar img {max-width: 120px;
      padding: 5px;
      border: 1px solid #D7D7D7;
      background: white;
      border-image: initial;
      }

      Comment

      widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
      Working...