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,299
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,299
Likes: 116
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, Scouters World
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: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
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: UBBT 7.7.5 // Preview: UBBT 8.0.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
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Is UBB.threads still going?
by Aaron101 - 04/01/2022 8:18 AM
Who's Online Now
1 members (1 invisible), 790 guests, and 230 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)