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: 271
Joined: Sat Apr 23, 2016 4:28 am

Default font resize

Post by ngaia » Sat Feb 24, 2018 2:32 pm

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: 49148
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Default font resize

Post by stevemaury » Sat Feb 24, 2018 2:36 pm

Mobile user - unpinch. Non-mobile user - CTRL + + or CMD + +. Users can make the text whatever size they wish.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

User avatar
thecoalman
Community Team Member
Community Team Member
Posts: 2624
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Default font resize

Post by thecoalman » 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.

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

Re: Default font resize

Post by stevemaury » Sat Feb 24, 2018 2:57 pm

That will work if you want to change the default for all users at the request of a few.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

User avatar
paulie
Registered User
Posts: 64
Joined: Thu Mar 30, 2017 3:41 pm
Location: Hull, East Yorkshire.

Re: Default font resize

Post by paulie » Sat Feb 24, 2018 3:59 pm

'Life in the Air Age isn't all the brochures say ...'

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

Re: Default font resize

Post by stevemaury » Sat Feb 24, 2018 4:43 pm

^^^ . This is the way to go. User controlled and no core file edits. Good one, Paulie.
For REALLY good and VERY inexpensive hosting CLICK HERE

I can stop all your spam. PM or email me.

All unsolicited PMs will be ignored.

ngaia
Registered User
Posts: 271
Joined: Sat Apr 23, 2016 4:28 am

Re: Default font resize

Post by ngaia » Sun Feb 25, 2018 12:16 pm

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: 2836
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Default font resize

Post by HiFiKabin » Sun Feb 25, 2018 12:26 pm

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: 2624
Joined: Wed Dec 22, 2004 3:52 am
Location: Pennsylvania, U.S.A.
Contact:

Re: Default font resize

Post by thecoalman » Sun Feb 25, 2018 2:31 pm

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.

ngaia
Registered User
Posts: 271
Joined: Sat Apr 23, 2016 4:28 am

Re: Default font resize

Post by ngaia » Sun Feb 25, 2018 4:32 pm

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”

Who is online

Users browsing this forum: Bing [Bot], shortmort37 and 15 guests