Altering text size in standard styles

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Milforum
    Senior Member
    • Apr 2015
    • 279
    • 6.0.X

    Altering text size in standard styles

    It seems that text inside posts has become smaller since installing vB6. This goes for the new default style as well as some other. Is there a quick fix for this?
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73412
    • 6.0.X

    #2
    You can adjust font sizes globally by adjusting the percentage value of the root_font_size style variable. All other fonts should scale off this. The default of 62.5% sets the base font to 10 pixels. Then other fonts set apply a multiplier to this.

    You can adjust the base font in post content by adjusting the post_content_font. In vBulletin 5, this was set to 1.3 REM (results in 13 pixels) and in vBulletin 6 it appears to be set to 1.2 REM (results in 12 pixels).

    Though if your browser isn't set to the default of 16 pixels for fonts or if you use page zooming or scaling, then the font sizes you see could be anything.
    Last edited by Wayne Luke; Mon 25 Sep '23, 9:14am.
    Translations provided by Google.

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

    Comment

    • Milforum
      Senior Member
      • Apr 2015
      • 279
      • 6.0.X

      #3
      Thank you. I guess the first variable should be root_font_size?

      I tried 1.3 and 1.4 REM for two of the styles, and it seemed to work OK on PC. But on mobile I couldn't spot any difference. Should I change something else there?

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73412
        • 6.0.X

        #4
        Do you have an example of that you're trying to change? A link and description would work.
        Translations provided by Google.

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

        Comment

        • Milforum
          Senior Member
          • Apr 2015
          • 279
          • 6.0.X

          #5
          My mistake. It works fine. It looks like my users like 1.4 REM for post_content_font.

          Comment

          Related Topics

          Collapse

          Working...
          😀
          😂
          🥰
          😘
          🤢
          😎
          😞
          😡
          👍
          👎