Announcement

Collapse
No announcement yet.

Add a border to avatars?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [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

  • #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 - Full / Mobile
    Vote for your favorite feature requests and the bugs you want to see fixed.

    Comment


    • #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...
      X