Default font resize

Get help with installation and running phpBB 3.2.x here. Please do not post bug reports, feature requests, or extension related questions here.
Post Reply
ngaia
Registered User
Posts: 323
Joined: Sat Apr 23, 2016 4:28 am

Default font resize

Post by ngaia »

in my board, i post only stories, novel, articles etc.. some of my readers ask me to writer in bigger text. so i wonder is posible to change default font size. Right now if i want bigger font i set it to large, sometime i forget to do make it large so need to make it a little big bigger than this especially for mobile user
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Default font resize

Post by stevemaury »

Mobile user - unpinch. Non-mobile user - CTRL + + or CMD + +. Users can make the text whatever size they wish.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Default font resize

Post by thecoalman »

In /styles/prosilver/theme/common.css

Starting on line 9 you'll 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;
}
The font-size sets the default starting point for most fonts. Increasing or decreasing it will affect most of the font sizes throughout your forum. Once you change it you may have to refresh the page. You may need to reapply you edits in future updates.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Default font resize

Post by stevemaury »

That will work if you want to change the default for all users at the request of a few.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
User avatar
paulie
Registered User
Posts: 118
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: Default font resize

Post by paulie »

'Life in the Air Age isn't all the brochures say ...'
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Default font resize

Post by stevemaury »

^^^ . This is the way to go. User controlled and no core file edits. Good one, Paulie.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
ngaia
Registered User
Posts: 323
Joined: Sat Apr 23, 2016 4:28 am

Re: Default font resize

Post by ngaia »

thecoalman wrote: Sat Feb 24, 2018 2:48 pm In /styles/prosilver/theme/common.css

Starting on line 9 you'll 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;
}
The font-size sets the default starting point for most fonts. Increasing or decreasing it will affect most of the font sizes throughout your forum. Once you change it you may have to refresh the page. You may need to reapply you edits in future updates.

i set font-size to 12px or any number i doesnt bigger. i tried it on my test board https://storyfb.com/test_board/viewtopic.php?f=4&t=3843

body {
font-family: Verdana, Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: normal;
margin: 0;
padding: 14px 0;
word-wrap: break-word;
-webkit-print-color-adjust: exact;
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6677
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Default font resize

Post by HiFiKabin »

paulie wrote: Sat Feb 24, 2018 3:59 pm Could this extension help?:

https://www.phpbb.com/customise/db/exte ... arge_font/
No editing, user selectable
User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 5885
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Default font resize

Post by thecoalman »

ngaia wrote: Sun Feb 25, 2018 12:16 pm i set font-size to 12px or any number i doesnt bigger. i tried it on my test board https://storyfb.com/test_board/viewtopic.php?f=4&t=3843
You need to clear the cache on Cloudflare. Not sure why I would get browser check but it helped in this situation. Just an FYI, unless your site is under DDOS attack the security settings should be medium or even low.

Be sure to refresh your browser as well, if it doesn't on refresh hold ctrl and hit f-5.
“Results! Why, man, I have gotten a lot of results! I have found several thousand things that won’t work.”

Attributed - Thomas Edison
ngaia
Registered User
Posts: 323
Joined: Sat Apr 23, 2016 4:28 am

Re: Default font resize

Post by ngaia »

it worked now, i forgot that i merge css last time, i edit on style sheet, everything looks fine now, thank you for helping
Post Reply

Return to “[3.2.x] Support Forum”