How to change all of the font size?

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Anti-Spam Guide
Post Reply
msibm
Registered User
Posts: 143
Joined: Sat Aug 24, 2002 11:35 am
Location: China
Contact:

How to change all of the font size?

Post by msibm » Sun Jan 17, 2016 7:23 pm

Are there an easy way to do that?
Thanks!

User avatar
Puchahawa
Registered User
Posts: 766
Joined: Sat Jan 01, 2011 10:33 pm
Location: SW Oregon
Name: Randy
Contact:

Re: How to change all of the font size?

Post by Puchahawa » Sun Jan 17, 2016 7:31 pm

The Large Font extension may work for you. :)
Where I play: Freedom Crows Nest

Avatar courtesy of artist Faith Coyotë

User avatar
david63
Jr. Extension Validator
Posts: 13129
Joined: Thu Dec 19, 2002 8:08 am
Location: Lancashire, UK
Name: David Wood
Contact:

Re: How to change all of the font size?

Post by david63 » Sun Jan 17, 2016 9:38 pm

msibm wrote:Are there an easy way to do that?
You could, of course, use the zoom controls of the browser.
David
Remember: You only know what you know and - you don't know what you don't know!
My CDB Contributions | How to install an extension
I will not be accepting translations for any of my extensions in Github - please post any translations in the appropriate topic.
No support requests via PM or email as they will be ignored

User avatar
Elias
Registered User
Posts: 4602
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: How to change all of the font size?

Post by Elias » Sun Jan 17, 2016 10:43 pm

If you want to edit the file then it would be:
styles/prosilver/theme/common.css

FIND:

Code: Select all

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	line-height: normal;
	margin: 0;
	padding: 12px 0;
	word-wrap: break-word;
	-webkit-print-color-adjust: exact;
}
Change font-size: 10px; to what ever you would like.

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

WWu777
Registered User
Posts: 516
Joined: Tue Aug 14, 2007 12:40 pm
Contact:

Re: How to change all of the font size?

Post by WWu777 » Sun Dec 03, 2017 8:03 pm

Elias wrote:
Sun Jan 17, 2016 10:43 pm
If you want to edit the file then it would be:
styles/prosilver/theme/common.css

FIND:

Code: Select all

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	line-height: normal;
	margin: 0;
	padding: 12px 0;
	word-wrap: break-word;
	-webkit-print-color-adjust: exact;
}
Change font-size: 10px; to what ever you would like.

Thanks
Would doing this also change the font size on a mobile screen when the forum adjusts to it using its responsive feature? If not how do I increase the font size on a mobile screen?

User avatar
Elias
Registered User
Posts: 4602
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: How to change all of the font size?

Post by Elias » Sun Dec 03, 2017 10:35 pm

I’d say, best way is to try it out.
It is 1 little edit, worst comes to worst, you put it back to the value it use to be or re upload the backup file you saved before editing the file.

Thanks
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

WWu777
Registered User
Posts: 516
Joined: Tue Aug 14, 2007 12:40 pm
Contact:

Re: How to change all of the font size?

Post by WWu777 » Tue Dec 05, 2017 12:30 am

Elias wrote:
Sun Jan 17, 2016 10:43 pm
If you want to edit the file then it would be:
styles/prosilver/theme/common.css

FIND:

Code: Select all

body {
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: 10px;
	line-height: normal;
	margin: 0;
	padding: 12px 0;
	word-wrap: break-word;
	-webkit-print-color-adjust: exact;
}
Change font-size: 10px; to what ever you would like.

Thanks
Ok I did it. I changed the font size as instructed above from 10px to 11px. It increased the text size a little but it also made the category and topic titles bigger as well. Why? How? See here:

http://www.happierabroad.com/forum/sear ... ive_topics

As you can see the topic titles are unusually large. How did that happen? I thought changing the font size above only applied to the body text?

User avatar
Elias
Registered User
Posts: 4602
Joined: Sat Feb 25, 2006 4:31 pm
Location: In the Water!
Name: Elias
Contact:

Re: How to change all of the font size?

Post by Elias » Tue Dec 05, 2017 12:46 am

You asked to increase ALL the font size.

Check this, should still work for 3.1:
viewtopic.php?f=591&t=2426201#p14755731
"Mystery creates wonder, and wonder is the basis of man's desire to understand." - Neil Armstrong
|Installing Extensions|Writing Extensions|Extension Validation Policy|

WWu777
Registered User
Posts: 516
Joined: Tue Aug 14, 2007 12:40 pm
Contact:

Re: How to change all of the font size?

Post by WWu777 » Tue Dec 05, 2017 1:06 pm

Elias wrote:
Tue Dec 05, 2017 12:46 am
You asked to increase ALL the font size.

Check this, should still work for 3.1:
viewtopic.php?f=591&t=2426201#p14755731
Well the OP did. I only wanted to changed the font size of the body text in posts. lol

I didn't know changing that one thing would apply to all font sizes. It looked like it would only apply to the body text since it was in a section marked as "body".

Maybe I'll just use the large font extension instead.

Btw those instructions in your link are way too complicated. When I right click and select Inspect, I get these boxes that come up that look way too technical for a layperson to figure out. From there, I don't know what is what. It looks like a jumble of numbers and boxes with no coherent sense. Not user friendly at all. That's one of the worst ways to try to figure out which css code does what. I studied it a number of times and nothing is clear there.

User avatar
KevC
Support Team Member
Support Team Member
Posts: 67315
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: How to change all of the font size?

Post by KevC » Tue Dec 05, 2017 1:40 pm

WWu777 wrote:
Tue Dec 05, 2017 1:06 pm
Well the OP did. I only wanted to changed the font size of the body text in posts. lol
And that's exactly why we always ask people to start their own topics for their own questions so there's no confusion.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

Post Reply

Return to “[3.1.x] Styles Support & Discussion”

Who is online

Users browsing this forum: No registered users and 12 guests