Previous Thread
Next Thread
Print Thread
Hop To
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
Help. frown

I was a long time UBB 6.x.x user. I upgraded to 7.5.8. I am evidnely not very good with CSS. How to do make the text in my post/replies larger?

[Linked Image from sullivansline.com]

Thanks. -- Hal

Joined: Jun 2006
Posts: 16,532
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,532
Likes: 150
Edit the style in the Control Panel, adjust the value of the ".post-content" class under "Post Properties", it'll have to be CSS, you'd be looking at the "font-size" notation.


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
Looked there already. Can't find it. Do I have to add it????

Hal

Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
Here what I have

[Linked Image from sullivansline.com]

Joined: Apr 2004
Posts: 2,032
Likes: 176
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 2,032
Likes: 176
To expand on Gizmo's reply --



The default size of the post-content is determined by by the font-size specified within the "body" CSS

The default "body" css is:
Code
body {
color: #000000;
background: #ffffff;
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
}

The default "post-content" CSS is:
Code
.post-content {
border-left: 1px solid #DDDDBB;
background: #F9F9F9;
color: #333333;
padding: 2px;
}

...

If you want to increase the default size of your site's fonts, update "body" CSS to:
Code
body {
color: #000000;
background: #ffffff;
font-family: Trebuchet MS, Verdana, Arial, Helvetica, sans-serif;
font-size: 16px;
}


If just you want to make the default size of your "post-content" fonts, update it's CSS to:
Code
.post-content {
border-left: 1px solid #DDDDBB;
background: #F9F9F9;
color: #333333;
padding: 2px;
font-size: 16px;
}


On a side note, "font-size: 10pt;" is equal to about "font-size: 13px;"
http://pxtoem.com/

Fonts used for electronic displays (computer monitors/screens/smartphones/tablets) should really only be using "px"
Font sizes used in print (magazines/newspapers/printed text) are generally declared by the use of "pt"


SIDE NOTES:
1) UBBT Uses "pt", "px", and "em" with percentages, all throughout it's default CSS styles and templates and code. This should be cleaned up and unified to become consistent proper CSS usage within UBBT.
2) Also, by W3C standards (CSS3), the use of font-sizes should really only be declared within CSS. As of UBBT 7.5.8, there are several inline declarations outside of the CSS style sheets.


current developer of UBB.threads php forum software
current release: UBB.threads 8.0.1 // wip: UBB.threads 8.1.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: May 2008
Posts: 14
H
stranger
stranger
H Offline
Joined: May 2008
Posts: 14
That helped. Thanks. Yes there is some confusion between pt and px. Again, thanks.

Hal


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
Email Settings
by Outdoorking - 05/13/2026 2:44 AM
Who's Online Now
0 members (), 118 guests, and 136 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)