How to change all of the font size?

For support and discussion related to templates, themes, and imagesets in phpBB 3.1.
Scam Warning
msibm
Registered User
Posts: 143
Joined: Sat Aug 24, 2002 11:35 am

How to change all of the font size?

Post by msibm »

Are there an easy way to do that?
Thanks!
User avatar
Puchahawa
Registered User
Posts: 769
Joined: Sat Jan 01, 2011 10:33 pm
Name: Randy

Re: How to change all of the font size?

Post by Puchahawa »

The Large Font extension may work for you. :)
Avatar courtesy of artist Faith Coyotë
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: How to change all of the font size?

Post by david63 »

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!

I now no longer support any of my extensions but they will start to become available here
User avatar
Elias
Registered User
Posts: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: How to change all of the font size?

Post by Elias »

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: 812
Joined: Tue Aug 14, 2007 12:40 pm

Re: How to change all of the font size?

Post by WWu777 »

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: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: How to change all of the font size?

Post by Elias »

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: 812
Joined: Tue Aug 14, 2007 12:40 pm

Re: How to change all of the font size?

Post by WWu777 »

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: 5152
Joined: Sat Feb 25, 2006 4:31 pm
Name: Elias

Re: How to change all of the font size?

Post by Elias »

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: 812
Joined: Tue Aug 14, 2007 12:40 pm

Re: How to change all of the font size?

Post by WWu777 »

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: 72617
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK

Re: How to change all of the font size?

Post by KevC »

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
"Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb"

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