Announcement

Collapse
No announcement yet.

Is there a way to increase avatar size in postbit in vB5 ?

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

  • Is there a way to increase avatar size in postbit in vB5 ?

    Is there a way (official or mod) to increase avatar size in postbit in vB5 ?
    Click image for larger version

Name:	Capture.PNG
Views:	198
Size:	27.3 KB
ID:	4447107
    Attached Files

  • #2
    There is no official method to change this. You can use custom CSS to edit the rendered size of the image. Maybe something like:

    Code:
    .b-avatar--m > img {
        max-height: 128px;
        max-width: 128px !important;
    }
    Translations provided by Google.

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

    Comment


    • #3
      Originally posted by Wayne Luke View Post
      There is no official method to change this. You can use custom CSS to edit the rendered size of the image. Maybe something like:

      Code:
      .b-avatar--m > img {
      max-height: 128px;
      max-width: 128px !important;
      }
      thanks for reply, but it only increase size of avatar by a small bit (even with bigger values written), and somewhat the avatar is mal-positioned
      Click image for larger version

Name:	Capture.PNG
Views:	198
Size:	47.8 KB
ID:	4447174

      Comment


      • #4
        You'll have to inspect your CSS and adjust the positioning accordingly.
        Translations provided by Google.

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

        Comment


        • #5
          Originally posted by Ahmed Nabil View Post

          thanks for reply, but it only increase size of avatar by a small bit (even with bigger values written), and somewhat the avatar is mal-positioned
          Click image for larger version

Name:	Capture.PNG
Views:	198
Size:	47.8 KB
ID:	4447174
          Assalamu'alaikum Brother,

          Try paste this into you css_additional.css
          style manager> style name> edit templates> CSS Templates> css_additional.css
          .b-avatar--m {
          height: 128px;
          width: 128px;
          }
          .b-avatar--m > img {
          height: 128px;
          width: 128px;
          }
          I think the first one will fixed it. You can ignore the second property .b-avatar--m > img if you find out the first one fixed it.
          Get Our New Flat Theme Pro Pack or Grab all 34 vb5.5.4 skins @sultantheme.com -vb3 responsive style or vb4 responsive style and vbcloud custom style

          Comment


          • #6
            Could you try adding the following codes to the css_additional.css template in the style you are using?

            Code:
            .l-desktop .b-avatar--thread {
            height: 128px;
            width: 128px;
            border: 0;
            }
            .l-desktop .b-avatar--thread > img {
            max-height: 128px;
            max-width: 128px !important;
            width: 128px;
            height: 128px;
            }

            Comment


            • #7
              Thank you both
              napy8gen & yilmaz
              I can confirm both codes works

              Comment

              Related Topics

              Collapse

              Working...
              X