Announcement

Collapse
No announcement yet.

Make User Name Card font bigger

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Free Mod Make User Name Card font bigger

    The latest vB5.6.6 introduced a new feature called User Name Card where it shows the user's name, avatar, a link to their profile, and a link to search for their posts in a tooltip overlay upon clicking a username link across the site. But I find the font too small to read. If you are wondering how to make the font bigger, you are in the right place.

    Copy and paste this custom CSS in css_additional template in AdminCP or in Sitebuilder Style Editor.
    Code:
    /* Make User Name Card font bigger - START */
    .b-namecard {
        font-size: 1.6rem;
        line-height: 1.2;
        padding: 6px 2px;
    }
    /* Make User Name Card font bigger - END */
    Adjust the values accordingly for your forum.

    Please see the before and after if this custom CSS is applied to vBulletin.com:

    Default:
    Click image for larger version  Name:	user-name-card-default.png Views:	0 Size:	96.3 KB ID:	23247

    After CSS applied:
    Click image for larger version  Name:	user-name-card-new.png Views:	0 Size:	111.4 KB ID:	23246


    Enjoy!
    Last edited by glennrocksvb; 01-22-2022, 12:41 PM.
    Helpful? Donate. Thanks!
    Buy me a coffeePayPal QR Code
    Fast VPS Host for vBulletin:
    A2 Hosting & IONOS

    #2
    Nice Glenn. Can the font color be darker?

    Comment


      #3
      Yes, just add the desired color to the CSS:
      Code:
      /* Make User Name Card font bigger - START */
      .b-namecard {
          font-size: 1.6rem;
          line-height: 1.2;
          padding: 6px 2px;
          color: #000;
      }
      /* Make User Name Card font bigger - END */
      Adjust the color as desired.
      Helpful? Donate. Thanks!
      Buy me a coffeePayPal QR Code
      Fast VPS Host for vBulletin:
      A2 Hosting & IONOS

      Comment


        #4
        Custom CSS was added without a hitch. Looks a lot better with the larger size. Hopefully the vB team can will work their own magic as well and get a more stylized card out some day.

        Thanks again, Glenn!

        Comment


          #5
          If you are interested, you can also check out the Profile Preview Tooltip mod I had created long time ago and have recently updated to make it work in vB 5.6.6. This is similar to the new Name Card feature so you'd have to disable it to use the mod.
          Helpful? Donate. Thanks!
          Buy me a coffeePayPal QR Code
          Fast VPS Host for vBulletin:
          A2 Hosting & IONOS

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